disable function calling. Need fix it soon.

This commit is contained in:
bobo.yang 2023-11-03 18:53:09 +08:00
parent 6e6cb32b89
commit 1522af004d
2 changed files with 6 additions and 5 deletions

View File

@ -107,10 +107,11 @@ class DevChat {
} }
} }
const isEnableFunctionCalling = UiUtilWrapper.getConfiguration('DevChat', 'EnableFunctionCalling'); // TODO: fix openai function calling
if (options.functions && isEnableFunctionCalling) { // const isEnableFunctionCalling = UiUtilWrapper.getConfiguration('DevChat', 'EnableFunctionCalling');
args.push("-f", options.functions); // if (options.functions && isEnableFunctionCalling) {
} // args.push("-f", options.functions);
// }
if (options.function_name) { if (options.function_name) {
args.push("-n", options.function_name); args.push("-n", options.function_name);

2
tools

@ -1 +1 @@
Subproject commit b9f03afb9dc4a12dc41d6f2ba91b7d42874bc11a Subproject commit 782ec455d62cae6dc0f94f5f977330d14d0637b8