Files
DeepTutor/tests
Antonio-Faure 8d65499cc8 feat(chat): attach inline answer cards to the next message
The assistant can put [[answer:q1]] on its own line after a question.
The reply renderer replaces it with a compact answer card; Attach puts
the written answer on the learner's next message as an answer
attachment, and the card folds to a chip that links to it. The user
message shows the answer as a chip that links back to the question.

The model receives the attached answers with the next turn and never
pauses: there is no tool call and no ask_user resume. The backend keeps
answer attachments out of document extraction and appends a grounded
answers block to the user message.

Verified: 3 backend tests, 1412 node tests, the answer-card Vitest,
typecheck, and the 4-test composer Playwright audit.
2026-11-28 20:14:30 +01:00
..
2026-11-06 01:56:40 +08:00
2026-11-06 01:56:22 +08:00
2026-11-06 01:56:39 +08:00