Skip to content

Commit d920b8e

Browse files
committed
fix llm config, add gpt-5
1 parent cad1209 commit d920b8e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/agentlab/llm/llm_configs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@
111111
temperature=1, # temperature param not supported by gpt-5
112112
vision_support=True,
113113
),
114+
"openai/gpt-5-2025-08-07": OpenAIModelArgs(
115+
model_name="gpt-5-2025-08-07",
116+
max_total_tokens=400_000,
117+
max_input_tokens=400_000 - 4_000,
118+
max_new_tokens=4_000,
119+
temperature=1, # temperature param not supported by gpt-5
120+
vision_support=True,
121+
),
114122
"azure/gpt-35-turbo/gpt-35-turbo": AzureModelArgs(
115123
model_name="gpt-35-turbo",
116124
deployment_name="gpt-35-turbo",

0 commit comments

Comments
 (0)