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.

agent: Add Opus 4.7 speed support (#56701)

David Wuebed7d39a9a3
diff --git a/crates/anthropic/src/anthropic.rs b/crates/anthropic/src/anthropic.rs
index 183b9f107c4..787f042cfc1 100644
--- a/crates/anthropic/src/anthropic.rs
+++ b/crates/anthropic/src/anthropic.rs
@@ -147,7 +147,7 @@ impl Model {
AnthropicModelMode::Default
};
- let supports_speed = entry.id == "claude-opus-4-6";
+ let supports_speed = matches!(entry.id.as_str(), "claude-opus-4-6" | "claude-opus-4-7");
Self {
display_name: entry.display_name,