Give Zed AI users access to Claude 3.7 Sonnet (#25577)
This PR updates the client-side checks to give Zed AI users access to Claude 3.7 Sonnet. Requires https://github.com/zed-industries/zed/pull/25576 to be deployed. Release Notes: - Added support for Claude 3.7 Sonnet to Zed AI.
This commit is contained in:
parent
3d7ba7c1c0
commit
75dbe189bd
2 changed files with 5 additions and 2 deletions
|
@ -72,14 +72,13 @@ impl CloudModel {
|
|||
pub fn availability(&self) -> LanguageModelAvailability {
|
||||
match self {
|
||||
Self::Anthropic(model) => match model {
|
||||
anthropic::Model::Claude3_5Sonnet => {
|
||||
anthropic::Model::Claude3_5Sonnet | anthropic::Model::Claude3_7Sonnet => {
|
||||
LanguageModelAvailability::RequiresPlan(Plan::Free)
|
||||
}
|
||||
anthropic::Model::Claude3Opus
|
||||
| anthropic::Model::Claude3Sonnet
|
||||
| anthropic::Model::Claude3Haiku
|
||||
| anthropic::Model::Claude3_5Haiku
|
||||
| anthropic::Model::Claude3_7Sonnet
|
||||
| anthropic::Model::Custom { .. } => {
|
||||
LanguageModelAvailability::RequiresPlan(Plan::ZedPro)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue