File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1021,7 +1021,7 @@ export class JsonOutputToolsParser extends BaseLLMOutputParser<ParsedToolCall[]>
10211021 const parsedToolCalls = [ ]
10221022
10231023 if ( ! toolCalls ) {
1024- // @ts -expect-error name and arguemnts are defined by Object.defineProperty
1024+ // @ts -expect-error name and arguments are defined by Object.defineProperty
10251025 const parsedToolCall : ParsedToolCall = {
10261026 type : 'undefined' ,
10271027 args : { }
@@ -1047,7 +1047,7 @@ export class JsonOutputToolsParser extends BaseLLMOutputParser<ParsedToolCall[]>
10471047 const clonedToolCalls = JSON . parse ( JSON . stringify ( toolCalls ) )
10481048 for ( const toolCall of clonedToolCalls ) {
10491049 if ( toolCall . function !== undefined ) {
1050- // @ts -expect-error name and arguemnts are defined by Object.defineProperty
1050+ // @ts -expect-error name and arguments are defined by Object.defineProperty
10511051 const parsedToolCall : ParsedToolCall = {
10521052 type : toolCall . function . name ,
10531053 args : JSON . parse ( toolCall . function . arguments )
You can’t perform that action at this time.
0 commit comments