mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
Restrict function calling to non-streaming only
This commit is contained in:
parent
b833f36c75
commit
f27a83ef73
@ -1853,7 +1853,7 @@ async function sendOpenAIRequest(type, messages, signal) {
|
|||||||
|
|
||||||
await eventSource.emit(event_types.CHAT_COMPLETION_SETTINGS_READY, generate_data);
|
await eventSource.emit(event_types.CHAT_COMPLETION_SETTINGS_READY, generate_data);
|
||||||
|
|
||||||
if (isFunctionCallingSupported()) {
|
if (isFunctionCallingSupported() && !stream) {
|
||||||
await registerFunctionTools(type, generate_data);
|
await registerFunctionTools(type, generate_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user