mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-19 12:58:09 +00:00
revert openrouter default temp
This commit is contained in:
parent
1f154a7073
commit
8d7c9c47cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ class OpenRouterClient(BaseModelClient):
|
|||
|
||||
logger.debug(f"[{self.model_name}] Initialized OpenRouter client")
|
||||
|
||||
async def generate_response(self, prompt: str, temperature: float = 0.5, inject_random_seed: bool = True) -> str:
|
||||
async def generate_response(self, prompt: str, temperature: float = 0.0, inject_random_seed: bool = True) -> str:
|
||||
"""Generate a response using OpenRouter with robust error handling."""
|
||||
try:
|
||||
# Append the call to action to the user's prompt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue