Skip to content

Commit f30d413

Browse files
committed
fix: remove redundant comment to clarify native tool protocol handling
1 parent 2b1224a commit f30d413

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/assistant-message/presentAssistantMessage.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ export async function presentAssistantMessage(cline: Task) {
283283
// Determine protocol by checking if this tool call has an ID.
284284
// Native protocol tool calls ALWAYS have an ID (set when parsed from tool_call chunks).
285285
// XML protocol tool calls NEVER have an ID (parsed from XML text).
286-
// This is the definitive indicator and prevents race conditions from re-resolving the protocol.
287286
const toolCallId = (block as any).id
288287
const isNative = !!toolCallId
289288

0 commit comments

Comments
 (0)