disable function calling. Need fix it soon.
This commit is contained in:
parent
6e6cb32b89
commit
1522af004d
@ -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
2
tools
@ -1 +1 @@
|
|||||||
Subproject commit b9f03afb9dc4a12dc41d6f2ba91b7d42874bc11a
|
Subproject commit 782ec455d62cae6dc0f94f5f977330d14d0637b8
|
Loading…
x
Reference in New Issue
Block a user