| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Unknown models already assume tool support. Accept capabilities that omit tools so migrated V1 custom providers are not skipped, and name the malformed field in normalization diagnostics.
Update existing diagnostic path assertions now that invalid values include the offending schema field.
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
|
The following comment was made by an LLM, it may be inaccurate: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue for this PR
Fixes #49912
Type of change
What does this PR do?
Custom providers migrated from V1 often omit capabilities.tools (V1 only had modalities). The schema required tools, so the whole provider was skipped with a terse normalization warning and /api/config showed empty providers.
Unknown models already assume tool support. This makes omitted tools decode as true (explicit false still wins), and invalid diagnostics now include the offending schema field (e.g. $.providers.acme.models.coder.capabilities.tools) instead of only the provider path.
How did you verify your code works?
From packages/schema:
From packages/core:
Screenshots / recordings
N/A — schema/normalization covered by unit tests.
Checklist