Skip to content

Commit 213156a

Browse files
committed
feat: place newer models first.
Signed-off-by: bigcat88 <bigcat88@icloud.com>
1 parent 013a544 commit 213156a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

comfy_api_nodes/nodes_openai.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@
3939

4040

4141
class SupportedOpenAIModel(str, Enum):
42-
o4_mini = "o4-mini"
43-
o1 = "o1"
44-
o3 = "o3"
45-
o1_pro = "o1-pro"
46-
gpt_4_1 = "gpt-4.1"
47-
gpt_4_1_mini = "gpt-4.1-mini"
48-
gpt_4_1_nano = "gpt-4.1-nano"
42+
gpt_5_5_pro = "gpt-5.5-pro"
43+
gpt_5_5 = "gpt-5.5"
4944
gpt_5 = "gpt-5"
5045
gpt_5_mini = "gpt-5-mini"
5146
gpt_5_nano = "gpt-5-nano"
52-
gpt_5_5 = "gpt-5.5"
53-
gpt_5_5_pro = "gpt-5.5-pro"
47+
gpt_4_1 = "gpt-4.1"
48+
gpt_4_1_mini = "gpt-4.1-mini"
49+
gpt_4_1_nano = "gpt-4.1-nano"
50+
o4_mini = "o4-mini"
51+
o3 = "o3"
52+
o1_pro = "o1-pro"
53+
o1 = "o1"
5454

5555

5656
async def validate_and_cast_response(response, timeout: int = None) -> torch.Tensor:

0 commit comments

Comments
 (0)