You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "lhpqaq (via GitHub)" <gi...@apache.org> on 2026/09/05 19:03:30 UTC
[I] feat(models): allow configurable context targets for large-context models [maka]
lhpqaq opened a new issue, #4870:
URL: https://github.com/apache/maka/issues/4870
### Problem
Some models offer a large context window, such as 1M tokens, but I do not always need that much conversation history for a task. I would like to use a smaller working context, such as 256K or 512K, to reduce the input tokens carried into later requests.
There is no convenient way to choose this from the conversation controls for a model whose maximum context is already known. Changing the thinking level does not control how much history is retained.
### Desired outcome
- Choose a smaller context target without changing the model's advertised maximum.
- Have Maka compact history earlier when the target is reached.
- Save the setting per connection and model, accessible from both Desktop and CLI.
- Restore automatic behavior when a custom target is no longer needed.
- Keep the conversation controls compact.
The goal is to reduce unnecessary token usage, not to guarantee a fixed cost reduction or impose a hard per-request token limit.
### Alternatives or workarounds
Manual compaction or starting a new task can keep history shorter, but both require intervention and may interrupt the workflow. Editing internal connection configuration is less convenient than a visible control.
AI assistance: OpenAI Codex helped prepare this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [I] feat(models): allow configurable context targets for large-context models [maka]
Posted by "lhpqaq (via GitHub)" <gi...@apache.org>.
lhpqaq commented on issue #4870:
URL: https://github.com/apache/maka/issues/4870#issuecomment-5554103504
take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org