chatgpt-optimized-official
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -52,2 +52,3 @@ import axios from "axios"; | ||
tool_choice: options?.tool_choice || 'auto', | ||
parallel_tool_calls: options?.parallel_tool_calls || false, | ||
}; | ||
@@ -238,3 +239,4 @@ } | ||
tools: this.options.tools, | ||
tool_choice: this.options.tool_choice | ||
tool_choice: this.options.tool_choice, | ||
parallel_tool_calls: this.options.parallel_tool_calls, | ||
}; | ||
@@ -241,0 +243,0 @@ if (this.options.functions) { |
{ | ||
"name": "chatgpt-optimized-official", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "ChatGPT Client using official OpenAI API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -58,2 +58,3 @@ import axios from "axios"; | ||
tool_choice: options?.tool_choice || 'auto', | ||
parallel_tool_calls: options?.parallel_tool_calls || false, | ||
}; | ||
@@ -283,3 +284,3 @@ } | ||
// } | ||
// console.log("funciones paraleas") | ||
let promptStr = this.generatePrompt(conversation, prompt, type, function_name, tool_call_id); | ||
@@ -300,3 +301,5 @@ //console.log(promptStr) | ||
tools: this.options.tools, | ||
tool_choice: this.options.tool_choice | ||
tool_choice: this.options.tool_choice, | ||
parallel_tool_calls: this.options.parallel_tool_calls, | ||
} | ||
@@ -303,0 +306,0 @@ if (this.options.functions) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
219981
3053