Skip to content

Commit 076bb0a

Browse files
committed
PR feedback
1 parent cc93702 commit 076bb0a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/core/task/Task.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
305305
// Native Tool Calling
306306
private useNativeToolCalls: boolean = false
307307
private toolUseHandler: ToolUseHandler
308-
private toolUseIdMap = new Map<string, string>()
309308

310309
// Token Usage Cache
311310
private tokenUsageSnapshot?: TokenUsage
@@ -1955,7 +1954,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
19551954
this.presentAssistantMessageHasPendingUpdates = false
19561955
this.assistantMessageParser.reset()
19571956
this.toolUseHandler.reset()
1958-
this.toolUseIdMap.clear()
19591957

19601958
await this.diffViewProvider.reset()
19611959

@@ -2024,11 +2022,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
20242022
input: chunk.tool_call.function?.arguments,
20252023
})
20262024

2027-
// Extract and store tool_use_id for creating proper ToolResultBlockParam
2028-
if (chunk.tool_call.function?.id && chunk.tool_call.function?.name) {
2029-
this.toolUseIdMap.set(chunk.tool_call.function.name, chunk.tool_call.function.id)
2030-
}
2031-
20322025
const prevLength = this.assistantMessageContent.length
20332026

20342027
// Combine any text content with tool uses

0 commit comments

Comments
 (0)