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.

anthropic: Fix serialized representation of `Effort::XHigh` (#57985)

Marshall Bowersb3d93d4474f7
diff --git a/crates/anthropic/src/anthropic.rs b/crates/anthropic/src/anthropic.rs
index 6ea08a5fd50..e18c7b9e961 100644
--- a/crates/anthropic/src/anthropic.rs
+++ b/crates/anthropic/src/anthropic.rs
@@ -676,6 +676,8 @@ pub enum Effort {
Low,
Medium,
High,
+ #[serde(rename = "xhigh")]
+ #[strum(serialize = "xhigh")]
XHigh,
Max,
}