mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-07-18 14:33:04 +00:00
[codex] increase goal evaluate timeout (#1686)
* fix(goal): increase goal evaluate timeout from 5s to 120s 5s timeout from #1580 is too aggressive for users with remote/slow LLM services. Goal judge calls silently fail causing goal continuation to never enqueue, leaving the goal stuck at 1 turn. Align with auxiliary.goal_judge.timeout default (120s) in config.yaml. * docs: note goal evaluate timeout change --------- Co-authored-by: WenhuaXia <wenhua_xia@163.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
date: 2026-06-20
|
||||
pr: 1686
|
||||
feature: Goal auto-continuation evaluation timeout
|
||||
impact: Goal judge evaluation now waits up to 120 seconds instead of 5 seconds, preventing slow remote LLM services from timing out before continuation can be queued.
|
||||
---
|
||||
@@ -37,7 +37,7 @@ import type { AuthenticatedUser } from '../../../middleware/user-auth'
|
||||
const BRIDGE_USAGE_FLUSH_DELAY_MS = 200
|
||||
const BRIDGE_TITLE_EVENT_POLL_INTERVAL_MS = 500
|
||||
const BRIDGE_TITLE_EVENT_POLL_TIMEOUT_MS = 45_000
|
||||
const BRIDGE_GOAL_EVALUATE_TIMEOUT_MS = 5_000
|
||||
const BRIDGE_GOAL_EVALUATE_TIMEOUT_MS = 120_000
|
||||
|
||||
function stringValue(value: unknown): string {
|
||||
return typeof value === 'string' ? value.trim() : ''
|
||||
|
||||
Reference in New Issue
Block a user