From d27be641b9403743a54621a95010e8f4e741ec17 Mon Sep 17 00:00:00 2001 From: liangxu Date: Wed, 6 May 2026 21:34:19 +0800 Subject: [PATCH] chore(desktop): bump kimi query timeout to 250s Kimi's reasoning mode now needs noticeably longer to respond, so raise the per-query timeout from 120s to 250s to avoid premature failures. --- apps/desktop-client/src/main/adapters/kimi.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop-client/src/main/adapters/kimi.ts b/apps/desktop-client/src/main/adapters/kimi.ts index 38c317d..52d7c6d 100644 --- a/apps/desktop-client/src/main/adapters/kimi.ts +++ b/apps/desktop-client/src/main/adapters/kimi.ts @@ -7,7 +7,8 @@ import { normalizeText } from './common' const KIMI_BOOTSTRAP_URL = 'https://www.kimi.com/' const KIMI_PAGE_READY_TIMEOUT_MS = 20_000 const KIMI_MODE_SWITCH_TIMEOUT_MS = 8_000 -const KIMI_QUERY_TIMEOUT_MS = 120_000 +// kimi 现在算力不够需要更多时间来生成回答了,尤其是思考模式,所以把默认的查询超时从 90s 提高到 250s。 +const KIMI_QUERY_TIMEOUT_MS = 250_000 const KIMI_QUERY_POLL_INTERVAL_MS = 1_200 const KIMI_STABLE_POLLS_REQUIRED = 5 const KIMI_INCOMPLETE_ANSWER_GRACE_MS = 18_000