mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-27 16:28:15 -05:00
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