Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

Commit b4e2dfe

Browse files
committed
wip
1 parent d0672b2 commit b4e2dfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/msgfmt/format_tool_call.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func removeClaudeReportTaskToolCall(msg string) (string, []string) {
1818
line := strings.TrimSpace(lines[i])
1919
nextLine := strings.TrimSpace(lines[i+1])
2020

21-
if strings.HasPrefix(prevLine, "● coder - coder_report_task (MCP)") {
21+
if strings.Contains(prevLine, "coder - coder_report_task (MCP)") {
2222
toolCallStartIdx = i
2323
} else if toolCallStartIdx != -1 && line == "\"message\": \"Thanks for reporting!\"" && nextLine == "}" && strings.Replace(prevLine, " ", "", -1) == "⎿{" {
2424
// Store [start, end] pair

0 commit comments

Comments
 (0)