chore: increase timeout for API requests in AIPlanner to 600 seconds and add local settings for Claude permissions
This commit is contained in:
7
.claude/settings.local.json
Normal file
7
.claude/settings.local.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"WebFetch(domain:github.com)"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -210,7 +210,7 @@ class AIPlanner:
|
||||
resp = httpx.post(
|
||||
f"{OLLAMA_HOST}/api/chat",
|
||||
json=payload,
|
||||
timeout=300.0,
|
||||
timeout=600.0,
|
||||
)
|
||||
resp.raise_for_status()
|
||||
data = resp.json()
|
||||
|
||||
Reference in New Issue
Block a user