Skip to content

Commit 690f46c

Browse files
committed
wip
1 parent c384607 commit 690f46c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/msgfmt/message_box.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ func removeClaudeReportTaskToolCall(msg string) string {
129129
return msg
130130
}
131131

132-
// Remove tool calls in reverse order to preserve indices
133-
// toolCallIdxs is already in reverse order from backwards iteration
132+
// Remove tool calls from the message
134133
for _, idxPair := range toolCallIdxs {
135134
start, end := idxPair[0], idxPair[1]
136135
lines = append(lines[:start], lines[end+1:]...)

0 commit comments

Comments
 (0)