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) {