Skip to content

Commit

Permalink
fix autopep formatting breaking things
Browse files Browse the repository at this point in the history
  • Loading branch information
mattieruth committed Sep 19, 2024
1 parent fa7eff3 commit c9b3c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipecat/services/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ async def _process_context(self, context: OpenAILLMContext):
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,
Expand Down

0 comments on commit c9b3c12

Please sign in to comment.