mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
PR feedback
This commit is contained in:
parent
cc93702d58
commit
076bb0aa81
1 changed files with 0 additions and 7 deletions
|
|
@ -305,7 +305,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
// Native Tool Calling
|
||||
private useNativeToolCalls: boolean = false
|
||||
private toolUseHandler: ToolUseHandler
|
||||
private toolUseIdMap = new Map<string, string>()
|
||||
|
||||
// Token Usage Cache
|
||||
private tokenUsageSnapshot?: TokenUsage
|
||||
|
|
@ -1955,7 +1954,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
this.presentAssistantMessageHasPendingUpdates = false
|
||||
this.assistantMessageParser.reset()
|
||||
this.toolUseHandler.reset()
|
||||
this.toolUseIdMap.clear()
|
||||
|
||||
await this.diffViewProvider.reset()
|
||||
|
||||
|
|
@ -2024,11 +2022,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
input: chunk.tool_call.function?.arguments,
|
||||
})
|
||||
|
||||
// Extract and store tool_use_id for creating proper ToolResultBlockParam
|
||||
if (chunk.tool_call.function?.id && chunk.tool_call.function?.name) {
|
||||
this.toolUseIdMap.set(chunk.tool_call.function.name, chunk.tool_call.function.id)
|
||||
}
|
||||
|
||||
const prevLength = this.assistantMessageContent.length
|
||||
|
||||
// Combine any text content with tool uses
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue