open_ai: Fix parallel tools issue (#30467)

There is no ISSUE opened on this topic

Release Notes:

- N/A

---------

Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
This commit is contained in:
Adrian Furo
2025-05-26 11:46:35 +00:00
committed by GitHub
co-authored by Peter Tripp Ben Brandt
parent 9da9ef860b
commit e6f51966a1
+2 -4
View File
@@ -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,
}
}