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.
1 parent f7a2863 commit c384607Copy full SHA for c384607
lib/msgfmt/message_box.go
@@ -112,12 +112,13 @@ func removeClaudeReportTaskToolCall(msg string) string {
112
// Iterate backwards to find all occurrences
113
for i := len(lines) - 1; i >= 0; i-- {
114
line := strings.TrimSpace(lines[i])
115
- if line == "}" && toolCallEndIdx == -1 {
+ if line == "}" {
116
toolCallEndIdx = i
117
}
118
if toolCallEndIdx != -1 && strings.HasPrefix(line, "● coder - coder_report_task (MCP)") {
119
// Store [start, end] pair
120
toolCallIdxs = append(toolCallIdxs, []int{i, toolCallEndIdx})
121
+
122
// Reset to find the next tool call
123
toolCallEndIdx = -1
124
0 commit comments