diff --git a/bot.py b/bot.py index 641df70..b96d3fd 100644 --- a/bot.py +++ b/bot.py @@ -3815,6 +3815,10 @@ class Bot: tc_list = None if tool_calls_acc: tc_list = [tool_calls_acc[i] for i in sorted(tool_calls_acc.keys())] + logger.info( + "[stream] model=%s chars=%d tool_calls=%d streamed_to_matrix=%s", + model, len(content), len(tc_list or []), event_id is not None, + ) return content, tc_list, usage, event_id async def _get_call_encryption_key(self, room_id: str, sender: str, caller_device_id: str = "") -> bytes | None: