Description
Give nanocoder the ability to modify context tokens for specific models or sub agents
Use Case
Using local models the context length is one key part for speed and not every request needs a full context length of a specific model. E.g. a subagent that should only Explore folders for file names may needs less context than a code reviewing or Unit test agent.
Proposed Solution
Set in the agents.config.json specific context values for specific models (like num_ctx for ollama) or that the context-max command also tries to set the context for the chosen model.
Alternatives Considered
Any alternative solutions or features you've considered
Additional Context
- [ x] I have searched existing issues to ensure this is not a duplicate
- [ x] This feature aligns with the project's goals (local-first AI assistance)
Implementation Notes (optional)
If you have thoughts on how this could be implemented, share them here
Description
Give nanocoder the ability to modify context tokens for specific models or sub agents
Use Case
Using local models the context length is one key part for speed and not every request needs a full context length of a specific model. E.g. a subagent that should only Explore folders for file names may needs less context than a code reviewing or Unit test agent.
Proposed Solution
Set in the agents.config.json specific context values for specific models (like num_ctx for ollama) or that the context-max command also tries to set the context for the chosen model.
Alternatives Considered
Any alternative solutions or features you've considered
Additional Context
Implementation Notes (optional)
If you have thoughts on how this could be implemented, share them here