feat: 系统提示词注入OS环境信息(不可压缩)+日期标记不可压缩+run_command返回cwd信息
This commit is contained in:
@@ -79,7 +79,9 @@ export async function handleRunCommand(params: { command: string; cwd?: string;
|
||||
stdout,
|
||||
stderr,
|
||||
exitCode: code,
|
||||
duration
|
||||
duration,
|
||||
cwd,
|
||||
command: params.command,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -94,7 +96,9 @@ export async function handleRunCommand(params: { command: string; cwd?: string;
|
||||
stderr: stderr + (stderr ? '\n' : '') + err.message,
|
||||
exitCode: 1,
|
||||
error: err.message,
|
||||
duration
|
||||
duration,
|
||||
cwd,
|
||||
command: params.command,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user