Skip to content

feat(chat): add client-side conversation memory (#11) - #17

Merged
pavelanni merged 2 commits into
mainfrom
feature/chat-client-memory
Apr 10, 2026
Merged

pavelanni merged 2 commits into
mainfrom
feature/chat-client-memory

Conversation

@pavelanni

Copy link
Copy Markdown
Collaborator

Summary

  • Prepend conversation history to each message so the agent sees prior turns and follow-up questions work naturally
  • Exclude error messages from history to keep context clean
  • First message sent as-is with no formatting overhead
  • Bump OpenShift Route timeout from 30s default to 120s in both deploy manifests to prevent 504s on long-running agent requests

Test plan

  • Simple chat works as before
  • Follow-up questions retain context (agent remembers names, prior topics)
  • Error messages are excluded from history
  • First message has no [Conversation history] prefix
  • Reapply Route and verify long-running requests (e.g., blog summarization) no longer 504

Closes #11 partially (client-side memory only; server-side memory tracked in #5)

@coderabbitai ignore

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Pavel Anni <[email protected]>
Prepend conversation history to each message so the agent has
context for follow-up questions. Also bump Route timeout from
default 30s to 120s to prevent 504s on long-running requests.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Pavel Anni <[email protected]>
@pavelanni

Copy link
Copy Markdown
Collaborator Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

@pavelanni
pavelanni merged commit 252091d into main Apr 10, 2026
2 checks passed
@pavelanni
pavelanni deleted the feature/chat-client-memory branch April 10, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive CLI chat client with Bubble Tea TUI

1 participant