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.

open_ai: Fix parallel tools issue (#30467)

Adrian Furoe6f51966a1ca
diff --git a/crates/open_ai/src/open_ai.rs b/crates/open_ai/src/open_ai.rs
index 9a56ab538d6..520694d830e 100644
--- a/crates/open_ai/src/open_ai.rs
+++ b/crates/open_ai/src/open_ai.rs
@@ -205,10 +205,8 @@ impl Model {
| Self::FourOmniMini
| Self::FourPointOne
| Self::FourPointOneMini
- | Self::FourPointOneNano
- | Self::O1
- | Self::O1Preview
- | Self::O1Mini => true,
+ | Self::FourPointOneNano => true,
+ Self::O1 | Self::O1Preview | Self::O1Mini => false,
_ => false,
}
}