Skip to content

Commit c2b3fc7

Browse files
Erol444claudePawelPeczek-Roboflow
authored
Add gpt-5.5 to OpenAI workflow block (#2272)
* Add gpt-5.5 to OpenAI workflow block Adds gpt-5.5 as a supported model to all four versions of the OpenAI workflow block. API proxy support is already in place. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix owl2 formatting --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Paweł Pęczek <146137186+PawelPeczek-Roboflow@users.noreply.github.com>
1 parent 7efa314 commit c2b3fc7

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

inference/core/workflows/core_steps/models/foundation/openai/v1.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ class BlockManifest(WorkflowBlockManifest):
9595
)
9696
openai_model: Union[
9797
Selector(kind=[STRING_KIND]),
98-
Literal["gpt-4o", "gpt-4o-mini", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano"],
98+
Literal[
99+
"gpt-4o",
100+
"gpt-4o-mini",
101+
"gpt-5.4",
102+
"gpt-5.4-mini",
103+
"gpt-5.4-nano",
104+
"gpt-5.5",
105+
],
99106
] = Field(
100107
default="gpt-4o",
101108
description="Model to be used",

inference/core/workflows/core_steps/models/foundation/openai/v2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ class BlockManifest(WorkflowBlockManifest):
173173
"gpt-5.4",
174174
"gpt-5.4-mini",
175175
"gpt-5.4-nano",
176+
"gpt-5.5",
176177
],
177178
] = Field(
178179
default="gpt-4o",

inference/core/workflows/core_steps/models/foundation/openai/v3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class BlockManifest(WorkflowBlockManifest):
181181
"gpt-5.4",
182182
"gpt-5.4-mini",
183183
"gpt-5.4-nano",
184+
"gpt-5.5",
184185
"o3",
185186
"o4-mini",
186187
],

inference/core/workflows/core_steps/models/foundation/openai/v4.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
)
3838

3939
OPENAI_MODELS = [
40+
{
41+
"id": "gpt-5.5",
42+
"name": "GPT-5.5",
43+
"reasoning_effort_values": ["none", "low", "medium", "high", "xhigh"],
44+
},
4045
{
4146
"id": "gpt-5.4",
4247
"name": "GPT-5.4",

0 commit comments

Comments
 (0)