From e6f51966a1ca11bdbf789e658de202c90c938bfb Mon Sep 17 00:00:00 2001 From: Adrian Furo <30745813+adrianfuro@users.noreply.github.com> Date: Mon, 26 May 2025 14:46:35 +0300 Subject: [PATCH] open_ai: Fix parallel tools issue (#30467) There is no ISSUE opened on this topic Release Notes: - N/A --------- Co-authored-by: Peter Tripp Co-authored-by: Ben Brandt --- crates/open_ai/src/open_ai.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/open_ai/src/open_ai.rs b/crates/open_ai/src/open_ai.rs index 9a56ab538d..520694d830 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, } }