jarvis-assist/Claude outputs
Jonny da48882671 fix: append trailing user message so conversation summary calls don't 400
Root cause: get_messages() returns history ending with the just-saved
assistant reply, but the Anthropic Messages API rejects any request whose
last message is not role=user - this failed on every single chat turn in
production, silently swallowed by the existing try/except.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V57jSQPqwkGG8BuAXg59X5
2026-09-13 20:58:41 +02:00
..
migrations fix: move 006_memory.sql to Claude outputs/migrations/ 2026-09-13 12:23:51 +02:00
tests fix: append trailing user message so conversation summary calls don't 400 2026-09-13 20:58:41 +02:00
main.py fix: append trailing user message so conversation summary calls don't 400 2026-09-13 20:58:41 +02:00