diff --git a/src/pipecat/services/openai.py b/src/pipecat/services/openai.py index 2d0a24589..b6a246537 100644 --- a/src/pipecat/services/openai.py +++ b/src/pipecat/services/openai.py @@ -383,7 +383,7 @@ async def process_frame(self, frame, direction): await self._push_aggregation() else: logger.warning( - f"FunctionCallResultFrame tool_call_id does not match FunctionCallInProgressFrame tool_call_id") + f"FunctionCallResultFrame tool_call_id ({frame.tool_call_id}) does not match FunctionCallInProgressFrame tool_call_id ({self._function_call_in_progress.tool_call_id})") self._function_call_in_progress = None self._function_call_result = None diff --git a/src/pipecat/services/together.py b/src/pipecat/services/together.py index 49759cb01..fdc99578c 100644 --- a/src/pipecat/services/together.py +++ b/src/pipecat/services/together.py @@ -279,7 +279,7 @@ async def process_frame(self, frame, direction): await self._push_aggregation() else: logger.warning( - f"FunctionCallResultFrame tool_call_id does not match FunctionCallInProgressFrame tool_call_id") + f"FunctionCallResultFrame tool_call_id ({frame.tool_call_id}) does not match FunctionCallInProgressFrame tool_call_id ({self._function_call_in_progress.tool_call_id})") self._function_call_in_progress = None self._function_call_result = None