Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Marshall Bowers3d7ba7c1c05f
diff --git a/crates/collab/src/llm/authorization.rs b/crates/collab/src/llm/authorization.rs
index 9f82af51c39..dd391447f74 100644
--- a/crates/collab/src/llm/authorization.rs
+++ b/crates/collab/src/llm/authorization.rs
@@ -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(());
}