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