Skip to content

Commit a57cb66

Browse files
committed
chore: improve error pruning replacement text
1 parent b73ceb2 commit a57cb66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/messages/prune.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const PRUNED_TOOL_INPUT_REPLACEMENT =
1414
"[content removed to save context, this is not what was written to the file, but a placeholder]"
1515
const PRUNED_TOOL_OUTPUT_REPLACEMENT =
1616
"[Output removed to save context - information superseded or no longer needed]"
17-
const PRUNED_TOOL_ERROR_INPUT_REPLACEMENT = "[input removed - see error message for details]"
17+
const PRUNED_TOOL_ERROR_INPUT_REPLACEMENT = "[input removed due to failed tool call]"
1818

1919
const getNudgeString = (config: PluginConfig, isReasoningModel: boolean): string => {
2020
const discardEnabled = config.tools.discard.enabled

0 commit comments

Comments
 (0)