File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ export const VertexGoogleChatCompleteConfig: ProviderConfig = {
9191 functionCall : {
9292 name : tool_call . function . name ,
9393 args : JSON . parse ( tool_call . function . arguments ) ,
94- ...( tool_call . function . thought_signature && {
95- thought_signature : tool_call . function . thought_signature ,
96- } ) ,
9794 } ,
95+ ...( tool_call . function . thought_signature && {
96+ thoughtSignature : tool_call . function . thought_signature ,
97+ } ) ,
9898 } ) ;
9999 } ) ;
100100 } else if ( message . role === 'tool' ) {
Original file line number Diff line number Diff line change @@ -219,10 +219,10 @@ export const GoogleChatCompleteConfig: ProviderConfig = {
219219 functionCall : {
220220 name : tool_call . function . name ,
221221 args : JSON . parse ( tool_call . function . arguments ) ,
222- ...( tool_call . function . thought_signature && {
223- thought_signature : tool_call . function . thought_signature ,
224- } ) ,
225222 } ,
223+ ...( tool_call . function . thought_signature && {
224+ thoughtSignature : tool_call . function . thought_signature ,
225+ } ) ,
226226 } ) ;
227227 } ) ;
228228 } else if ( message . role === 'tool' ) {
You can’t perform that action at this time.
0 commit comments