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