Skip to content

feat: token compression at 80 % of max_context_tokens#79

Draft
MyEcoria wants to merge 20 commits into
ovh:mainfrom
MyEcoria:dev/pbuchez/context-compressor
Draft

feat: token compression at 80 % of max_context_tokens#79
MyEcoria wants to merge 20 commits into
ovh:mainfrom
MyEcoria:dev/pbuchez/context-compressor

Conversation

@MyEcoria

Copy link
Copy Markdown
Contributor

This is a follow-up to PR #78. It allows you to automatically compress the context when you are at 80% of the max_context_tokens if specified in the model configuration. Displays the compression result if the value is available.

edacef2d-fde7-4151-ad72-747e8f96e630

Signed-off-by: Pierric Buchez <contact@myecoria.com>
Signed-off-by: Pierric Buchez <contact@myecoria.com>
@MyEcoria MyEcoria force-pushed the dev/pbuchez/context-compressor branch from 876b7b0 to cd24d70 Compare September 28, 2025 13:03
@MyEcoria MyEcoria marked this pull request as draft September 29, 2025 08:49
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.

1 participant