Skip to content

Conversation

timtmok
Copy link
Contributor

@timtmok timtmok commented Oct 7, 2025

Cherry pick fix to main

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.
@timtmok timtmok requested a review from sharon-wang October 7, 2025 19:53
Copy link

github-actions bot commented Oct 7, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

@timtmok timtmok merged commit 44a1c52 into main Oct 8, 2025
12 checks passed
@timtmok timtmok deleted the 9785-main branch October 8, 2025 15:38
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants