You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/assistant-message/presentAssistantMessage.ts
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -303,14 +303,10 @@ export async function presentAssistantMessage(cline: Task) {
303
303
if(!toolCallId){
304
304
consterrorMessage=
305
305
"Invalid tool call: missing tool_use.id. XML tool calls are no longer supported. Remove any XML tool markup (e.g. <read_file>...</read_file>) and use native tool calling instead."
306
-
// Record a tool error for visibility/telemetry. Use the reported tool name if present.
306
+
// Record a tool error for visibility/telemetry. block.name is model-controlled and
307
+
// must never reach analytics unvalidated, so bucket it under a static key.
0 commit comments