From 46ee020b5dc2863939c486c36e889816c880960c Mon Sep 17 00:00:00 2001 From: pedrohsdb Date: Wed, 29 Oct 2025 09:11:08 -0700 Subject: [PATCH] making gpt5 models have temp 1 (#3849) --- skyvern/forge/sdk/api/llm/config_registry.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/skyvern/forge/sdk/api/llm/config_registry.py b/skyvern/forge/sdk/api/llm/config_registry.py index b2ff73e9..3b675f47 100644 --- a/skyvern/forge/sdk/api/llm/config_registry.py +++ b/skyvern/forge/sdk/api/llm/config_registry.py @@ -80,7 +80,7 @@ if settings.ENABLE_OPENAI: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), ) @@ -92,7 +92,7 @@ if settings.ENABLE_OPENAI: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), ) @@ -104,7 +104,7 @@ if settings.ENABLE_OPENAI: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), ) @@ -606,7 +606,7 @@ if settings.ENABLE_AZURE_GPT5: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), ) @@ -631,7 +631,7 @@ if settings.ENABLE_AZURE_GPT5_MINI: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), ) @@ -656,7 +656,7 @@ if settings.ENABLE_AZURE_GPT5_NANO: supports_vision=True, add_assistant_prefix=False, max_completion_tokens=128000, - temperature=None, + temperature=1, # GPT-5 only supports temperature=1 reasoning_effort=settings.GPT5_REASONING_EFFORT, ), )