fix(frontend): terminal_input 显示参数从 timeout 改为 output_wait,标签改为等待时间

This commit is contained in:
JOJO 2026-06-17 22:02:06 +08:00
parent f43b5ea73b
commit c5dde27faa
2 changed files with 4 additions and 4 deletions

View File

@ -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 = '<div class="tool-result-meta">';
html += `<div><strong>指令:</strong>${escapeHtml(command)}</div>`;
html += `<div><strong>超时时间:</strong>${timeout}秒</div>`;
html += `<div><strong>等待时间:</strong>${outputWait}秒</div>`;
html += '</div>';
if (output) {

View File

@ -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 = '<div class="tool-result-meta">';
html += `<div><strong>指令:</strong>${escapeHtml(command)}</div>`;
html += `<div><strong>超时时间:</strong>${timeout}秒</div>`;
html += `<div><strong>等待时间:</strong>${outputWait}秒</div>`;
html += '</div>';
if (output) {