Skip to content

Commit 8e6058d

Browse files
committed
Fix types
1 parent 84199a9 commit 8e6058d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/src/tools/batch-str-replace.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ async function executeSingleStrReplace(
344344
toolResults.push(toolResultPart)
345345
onResponseChunk({
346346
type: 'tool_result',
347+
toolName: toolResultPart.toolName,
347348
toolCallId: toolCall.toolCallId,
348349
output: toolResult,
349350
})
@@ -490,6 +491,7 @@ function handleStrReplaceError(params: {
490491
toolResults.push(errorResult)
491492
onResponseChunk({
492493
type: 'tool_result',
494+
toolName: errorResult.toolName,
493495
toolCallId: toolCall.toolCallId,
494496
output: errorResult.output,
495497
})
@@ -876,6 +878,7 @@ async function applyBenchifyResultSafely(params: {
876878
// Notify client about the benchify update
877879
onResponseChunk({
878880
type: 'tool_result',
881+
toolName: benchifyToolResult.toolName,
879882
toolCallId: relatedToolCall.toolCallId,
880883
output: benchifyToolResult.output,
881884
})

0 commit comments

Comments
 (0)