File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments