File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,10 @@ export async function callAgent(
78
78
let content = "" ;
79
79
let finishReason = "" ;
80
80
let resultAgentId = "" ;
81
- const toolResults : { toolCallId : string ; result : { error ?: string ; data ?: unknown } } [ ] = [ ] ;
81
+ const toolResults : {
82
+ toolCallId : string ;
83
+ result : { error ?: string ; data ?: unknown } ;
84
+ } [ ] = [ ] ;
82
85
83
86
for ( const line of lines ) {
84
87
const prefix = line . substring ( 0 , 2 ) ;
@@ -123,7 +126,7 @@ export async function callAgent(
123
126
toolResults : toolResults . map ( ( toolResult ) =>
124
127
toolResult . result . error
125
128
? { error : toolResult . result . error }
126
- : { data : toolResult . result . data }
129
+ : { data : toolResult . result . data } ,
127
130
) ,
128
131
messageId,
129
132
finishReason,
You can’t perform that action at this time.
0 commit comments