Preserve Codex question and answer history - #46
Conversation
ReviewThis review covers complexity only. It does not cover correctness, security, or performance. 1. The answer travels inside a display string
The Go code joins the question and the answer with a 2. A unicode glyph acts as a UI icon
The line 3. The payload text idiom is duplicated
4. The bool return value is derivable
5. Two decode paths for one format
6. A loop rebuilds one map into another
The loop copies Total
Two notes outside the complexity scope
|
3da9df4 to
6cc2dce
Compare
Context
Codex input requests can contain multiple questions, with responses recorded separately. coSlash previously retained only the first question and omitted its answer, leaving the session timeline incomplete.
Changes
Test
Before: if a session asked 3 questions in a row, only displayed the last question
After: all questions displayed