Merge pull request #479 from pipecat-ai/khk/small-fixes
fix small issues that crept into main
This commit is contained in:
@@ -223,7 +223,7 @@ class TTSService(AIService):
|
||||
else:
|
||||
await self.push_frame(frame, direction)
|
||||
elif isinstance(frame, TTSSpeakFrame):
|
||||
await self._push_tts_frames(frame.text, False)
|
||||
await self._push_tts_frames(frame.text)
|
||||
elif isinstance(frame, TTSModelUpdateFrame):
|
||||
await self.set_model(frame.model)
|
||||
elif isinstance(frame, TTSVoiceUpdateFrame):
|
||||
|
||||
@@ -193,8 +193,7 @@ class BaseOpenAILLMService(LLMService):
|
||||
if self.has_function(function_name):
|
||||
await self._handle_function_call(context, tool_call_id, function_name, arguments)
|
||||
else:
|
||||
raise OpenAIUnhandledFunctionException(f"The LLM tried to call a function named '{
|
||||
function_name}', but there isn't a callback registered for that function.")
|
||||
raise OpenAIUnhandledFunctionException(f"The LLM tried to call a function named '{function_name}', but there isn't a callback registered for that function.")
|
||||
|
||||
async def _handle_function_call(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user