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 14:46:35 +03:00 committed by GitHub
parent 9da9ef860b
commit e6f51966a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
}
}