mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Restrict function calling to non-streaming only
This commit is contained in:
		| @@ -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); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user