From c5dde27faad7d59d52f6999e32b194699341df1e Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Wed, 17 Jun 2026 22:02:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20terminal=5Finput=20=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=8F=82=E6=95=B0=E4=BB=8E=20timeout=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20output=5Fwait=EF=BC=8C=E6=A0=87=E7=AD=BE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E7=AD=89=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/components/chat/actions/ToolAction.vue | 4 ++-- static/src/components/chat/actions/toolRenderers.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/src/components/chat/actions/ToolAction.vue b/static/src/components/chat/actions/ToolAction.vue index 5e6696b..6f4ae54 100644 --- a/static/src/components/chat/actions/ToolAction.vue +++ b/static/src/components/chat/actions/ToolAction.vue @@ -654,12 +654,12 @@ function renderTerminalSession(result: any, args: any): string { function renderTerminalInput(result: any, args: any): string { const command = args.command || args.input || ''; - const timeout = args.timeout || 30; + const outputWait = args.output_wait || 30; const output = result.output || result.result || ''; let html = '
'; html += `
指令:${escapeHtml(command)}
`; - html += `
超时时间:${timeout}秒
`; + html += `
等待时间:${outputWait}秒
`; html += '
'; if (output) { diff --git a/static/src/components/chat/actions/toolRenderers.ts b/static/src/components/chat/actions/toolRenderers.ts index 3fc5620..2414461 100644 --- a/static/src/components/chat/actions/toolRenderers.ts +++ b/static/src/components/chat/actions/toolRenderers.ts @@ -604,12 +604,12 @@ function renderTerminalSession(result: any, args: any): string { function renderTerminalInput(result: any, args: any): string { const command = args.command || args.input || ''; - const timeout = args.timeout || 30; + const outputWait = args.output_wait || 30; const output = result.output || result.result || ''; let html = '
'; html += `
指令:${escapeHtml(command)}
`; - html += `
超时时间:${timeout}秒
`; + html += `
等待时间:${outputWait}秒
`; html += '
'; if (output) {