fix(frontend): 修正 LLM 调用超时文案与实际行为一致,上限放宽至 3600s

前端原文案'0 表示无限等待(不推荐)'与后端实际行为不符——
internal/agent/const.go 中 getLLMCallTimeout 在配置为 0 时回退到
defaultLLMCallTimeout (120s),并不会无限等待,文案误导用户。

- 同步 zh-CN/en-US/ru-RU/ko-KR 四种语言 hint 为'0 表示使用默认值(120s)'
- placeholder 推荐范围由 60-600 调整为 60-1800,与后端兜底超时上调保持一致
- AgentEditorModal 输入框 :max 由 600 放宽到 3600,避免长推理模型场景被卡住
This commit is contained in:
wizardchen
2026-05-10 00:18:34 +08:00
committed by lyingbug
parent 24a010ff59
commit c1826030ab
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -3925,8 +3925,8 @@ export default {
llmCallTimeout: {
label: "LLM Call Timeout",
desc: "Maximum waiting time for a single LLM call (seconds). Call will be terminated if this time is exceeded",
hint: "0 means unlimited wait (not recommended)",
placeholder: "Enter seconds, recommended range 60-600",
hint: "Leave empty or 0 to use the default (120 seconds)",
placeholder: "Enter seconds, recommended range 60-1800",
},
imageUpload: {
navLabel: 'Multimodal',