Remove extra blank line in _group_into_windows
Some checks are pending
CI / lint-and-test (push) Waiting to run

Ganymede review cleanup — duplicate by_chat block was already resolved
during consolidation, this removes the leftover cosmetic blank line.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
m3taversal 2026-03-31 13:36:06 +01:00
parent d89fb29c9e
commit ff68ebc561

View file

@ -1660,12 +1660,6 @@ def _group_into_windows(messages: list[dict], window_seconds: int = 300) -> list
if not messages:
return []
# Group by chat_id first
by_chat: dict[int, list[dict]] = {}
for msg in messages:
chat_id = msg.get("chat_id", 0)
by_chat.setdefault(chat_id, []).append(msg)
# Group by chat_id first
by_chat: dict[int, list[dict]] = {}
for msg in messages:
@ -1693,7 +1687,6 @@ def _group_into_windows(messages: list[dict], window_seconds: int = 300) -> list
else:
current_window.append(msg)
if current_window:
windows.append(current_window)