collab: Give Zed AI users access to Claude 3.7 Sonnet (#25576)

This PR updates the authorization check to give Zed AI users access to
Claude 3.7 Sonnet.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-25 12:12:09 -05:00 committed by GitHub
parent eebee4ab18
commit 3d7ba7c1c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ fn authorize_access_to_model(
}
if provider == LanguageModelProvider::Anthropic {
if model == "claude-3-5-sonnet" {
if model == "claude-3-5-sonnet" || model == "claude-3-7-sonnet" {
return Ok(());
}