Merge pull request #338 from devchat-ai/disable_function_calling

disable function calling. Need fix it soon.
This commit is contained in:
boob.yang 2023-11-03 18:57:58 +08:00 committed by GitHub
commit d0e8a25c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

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

2
tools

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