From c93785a8097e14e1a3183ae10f683527ba86a934 Mon Sep 17 00:00:00 2001 From: kswdev0 Date: Fri, 27 Mar 2026 14:46:28 +0900 Subject: [PATCH] chore: increase timeout for API requests in AIPlanner to 600 seconds and add local settings for Claude permissions --- .claude/settings.local.json | 7 +++++++ ai_planner.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..e56d14e --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": [ + "WebFetch(domain:github.com)" + ] + } +} diff --git a/ai_planner.py b/ai_planner.py index 801ed1c..d34642d 100644 --- a/ai_planner.py +++ b/ai_planner.py @@ -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()