Skip to content

Commit

Permalink
get rid of some debug log lines used during development
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindla committed Sep 30, 2024
1 parent 6ad3437 commit 0499fe4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pipecat/services/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,16 +494,9 @@ async def process_frame(self, frame, direction):
if isinstance(frame, StartInterruptionFrame):
self._function_calls_in_progress.clear()
self._function_call_finished = None
logger.debug("clearing function calls in progress")
elif isinstance(frame, FunctionCallInProgressFrame):
self._function_calls_in_progress[frame.tool_call_id] = frame
logger.debug(
f"FunctionCallInProgressFrame: {frame.tool_call_id} {self._function_calls_in_progress}"
)
elif isinstance(frame, FunctionCallResultFrame):
logger.debug(
f"FunctionCallResultFrame: {frame.tool_call_id} {self._function_calls_in_progress}"
)
if frame.tool_call_id in self._function_calls_in_progress:
del self._function_calls_in_progress[frame.tool_call_id]
self._function_call_result = frame
Expand Down

0 comments on commit 0499fe4

Please sign in to comment.