get rid of some debug log lines used during development

This commit is contained in:
Kwindla Hultman Kramer
2024-09-29 21:12:09 -07:00
parent 6ad3437fd2
commit 0499fe41e4

View File

@@ -494,16 +494,9 @@ class OpenAIAssistantContextAggregator(LLMAssistantContextAggregator):
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