Skip to content

feat(chat): Implement memory monitoring and context size probing - #686

Merged
haiphucnguyen merged 3 commits into
mainfrom
feature/memory-indicator
Sep 1, 2026
Merged

haiphucnguyen merged 3 commits into
mainfrom
feature/memory-indicator

Conversation

@haiphucnguyen

Copy link
Copy Markdown
Collaborator
  • Introduce explicit memory usage metrics (tokens) and pressure levels to the chat UI.
  • Implement context size probing for model providers (Gemini, Ollama, etc.) to improve UI accuracy.
  • Expose a memory compression mechanism (compressMemory) through the chat actions interface.
  • Internationalize new memory pressure messages for multiple locales.

- Introduce explicit memory usage metrics (tokens) and pressure levels to the chat UI.
- Implement context size probing for model providers (Gemini, Ollama, etc.) to improve UI accuracy.
- Expose a memory compression mechanism (`compressMemory`) through the chat actions interface.
- Internationalize new memory pressure messages for multiple locales.

BREAKING CHANGE: The `ChatActions` interface now includes a `compressMemory()` function, requiring updates to client code that uses this API.
Copilot AI lite review requested due to automatic review settings August 31, 2026 23:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@haiphucnguyen
haiphucnguyen merged commit bab833d into main Sep 1, 2026
10 checks passed
@haiphucnguyen
haiphucnguyen deleted the feature/memory-indicator branch September 1, 2026 02:24
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.

2 participants