Remove extra blank line in _group_into_windows
Some checks are pending
CI / lint-and-test (push) Waiting to run
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:
parent
d89fb29c9e
commit
ff68ebc561
1 changed files with 0 additions and 7 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue