llm.py: Timeout auf 60s erhöht für Tool-Calling
This commit is contained in:
parent
a217eab970
commit
1e6e2290a2
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def _call_openrouter(messages: list, api_key: str, use_tools: bool = True) -> di
|
|||
"https://openrouter.ai/api/v1/chat/completions",
|
||||
headers={"Authorization": f"Bearer {api_key}"},
|
||||
json=payload,
|
||||
timeout=30,
|
||||
timeout=60,
|
||||
)
|
||||
r.raise_for_status()
|
||||
return r.json()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue