tests: fix tests (#2359)

Fix previously failing test. During unmarshal, if the resources is not
presented, return nil instead of empty struct.

Also added a note in docs to view the configuration file v1 version.
This commit is contained in:
Yuan Teoh
2026-01-26 19:25:49 -08:00
committed by Yuan Teoh
parent 48bd1da647
commit 8584676037
4 changed files with 51 additions and 25 deletions

View File

@@ -16,6 +16,12 @@ Databases” as its initial development predated MCP, but was renamed to align
with recently added MCP compatibility.
{{< /notice >}}
{{< notice note >}}
This document has been updated to support the configuration file v2 format. To
view documentation with configuration file v1 format, please navigate to the
top-right menu and select versions v0.26.0 or older.
{{< /notice >}}
## Why Toolbox?
Toolbox helps you build Gen AI tools that let your agents access data in your