Files
genai-toolbox/cmd
Yuan Teoh f57352fcaa chore: update unmarshal function for ToolsFile (#2344)
Update `parseToolsFile()` to use the file conversion function. Update
unmarshalling function since we will be unmarshalling per-doc (separated
by `---`).

`AuthSources` will be converted to `AuthServices` during the file
conversion stage. Hence, removing it from `ToolsFile` struct. ToolsFile
v2 will not support `AuthSources`. Double checked that all docs do not
reference to `AuthSources` anymore; new users is expected to be using
`AuthServices` instead.

This PR will not pass the unit test since the updates for resources's
yaml tag will be in subsequent PRs. Breaking it down to keep review
simpler.

Related #817

Upcoming PR:
* Update yaml tag
2026-01-26 19:43:46 -08:00
..