Merge pull request #338 from devchat-ai/disable_function_calling
disable function calling. Need fix it soon.
This commit is contained in:
commit
d0e8a25c27
@ -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
2
tools
@ -1 +1 @@
|
||||
Subproject commit b9f03afb9dc4a12dc41d6f2ba91b7d42874bc11a
|
||||
Subproject commit 782ec455d62cae6dc0f94f5f977330d14d0637b8
|
Loading…
x
Reference in New Issue
Block a user