Skip to content

Your lightweight open-source personal agent.

Always use temperature 1

Kunal Karmakar52e725053c14
diff --git a/nanobot/providers/azure_openai_provider.py b/nanobot/providers/azure_openai_provider.py
index 25580ac17..c849fd937 100644
--- a/nanobot/providers/azure_openai_provider.py
+++ b/nanobot/providers/azure_openai_provider.py
@@ -80,7 +80,7 @@ class AzureOpenAIProvider(LLMProvider):
payload: dict[str, Any] = {
"messages": self._sanitize_empty_content(messages),
"max_completion_tokens": max(1, max_tokens), # Azure API 2024-10-21 uses max_completion_tokens
- "temperature": temperature,
+ "temperature": 1,
}
if reasoning_effort: