From 7fcab3bf31e05d9c65fbc2e9fbe26c5d51089a57 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Mon, 24 Aug 2026 21:01:05 +0300 Subject: [PATCH] fix: allow creator chat responses to complete --- cmd/creator-web/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/creator-web/main.go b/cmd/creator-web/main.go index 58d04ea..b19c99b 100644 --- a/cmd/creator-web/main.go +++ b/cmd/creator-web/main.go @@ -13,7 +13,11 @@ func main() { envOr("CORE_RUNTIME_URL", "http://core-runtime:8080"), envOr("CONTINUITY_RUNTIME_URL", "http://continuity-runtime:8081"), envOr("COMMIT_RUNTIME_URL", "http://commit-runtime:8082"), - &http.Client{Timeout: 10 * time.Second}, + // Core chat may spend several seconds on semantic interpretation and + // local cognition. Keep the browser gateway alive long enough to return + // the completed response instead of converting a successful core 201 + // into a misleading 502. + &http.Client{Timeout: 30 * time.Second}, envOr("COGNITIVE_RUNTIME_URL", "http://cognitive-worker:8083"), envOr("AGENT_WORKER_URL", "http://agent-worker:8090"), ) -- 2.54.0