Commit 98c1ae1
authored
Fix Anthropic model metadata (#9825)
Address #9785
The model's metadata is used to determine whether it's allowed for
selection in the chat input. Anthropic doesn't return any data on model
capabilities so we've been hard-coding them. This is a regression when
building the model metadata after fetching the model listing where it
omits setting the capabilities.
Agent and Edit modes need the model to support `agentMode` and
`toolCalling` to display in the list.
### Release Notes
#### New Features
- N/A
#### Bug Fixes
- N/A
### QA Notes
This only affected Anthropic. Bedrock and the other Vercel backed
providers use the proper values.1 parent 0ae847d commit 98c1ae1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
0 commit comments