We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4314abc + e215021 commit e1c575aCopy full SHA for e1c575a
apps/desktop/src/lib/utils/codegenTools.ts
@@ -64,8 +64,9 @@ export function formatToolCall(toolCall: ToolCall): string {
64
return input['file_path'];
65
66
case 'Bash':
67
- // Show description if available, otherwise truncate command
68
- return truncate(input['command'], 128);
+ // Even if they are long, we don't want to truncate commands since
+ // any part of a command could perform dangerous actions.
69
+ return input['command'];
70
71
case 'Grep':
72
return `"${input['pattern']}"${input['path'] ? ` in ${input['path']}` : ''}`;
0 commit comments