feat(telegram): stop generation from the client, questions survive a restart, images reach the model inline, albums become one turn

This commit is contained in:
hh committed 2026-09-02 02:11:44 +02:00
1 parent c3b0864e3d
commit 6b7de6f03d
12 files changed
+452 -76

No files matched your search

@@ -44,6 +44,7 @@ class Spawning(Messaging):
origin: str = "api",
binding: tuple[str, str] | None = None,
flags: dict[str, Any] | None = None,
attachments: list[dict[str, Any]] | None = None,
) -> Conversation:
"""Create a conversation in a window and queue its seed.
@@ -95,6 +96,7 @@ class Spawning(Messaging):
priority="user",
origin=f"seed:{seed}" if seed == "brief" else origin,
text=await self.seed_text(ctx, window=window),
attachments=attachments,
)
self._ensure_worker(cast("int", conv.id))
return conv