Files
pulse/internal
rcourtman 3029db3bcf feat(ai): add compact and max_bytes to the chat messages endpoint
Tool-heavy chat histories exceed the relay proxy's 47KB response cap, so
the mobile app could never load big conversations over Remote Access.
GET /api/ai/sessions/{id}/messages now accepts compact=1 (strips tool
outputs, results and thought signatures while keeping tool_use_id
linkage) and max_bytes=N (returns the newest messages that fit the
budget; a single oversized message is truncated with a notice). The
mobile client sends compact=1&max_bytes=40960 and falls back to a
halving limit ladder when older servers answer 413.
2026-07-18 20:23:41 +01:00
..
2026-07-11 18:25:17 +01:00