Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting the Maximum number of history messages #3814

Open
2 tasks done
prd-tuong-nguyen opened this issue Jan 22, 2025 · 0 comments
Open
2 tasks done

Allow setting the Maximum number of history messages #3814

prd-tuong-nguyen opened this issue Jan 22, 2025 · 0 comments
Assignees
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"

Comments

@prd-tuong-nguyen
Copy link

prd-tuong-nguyen commented Jan 22, 2025

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

I currently don't see any configuration option that allows me to set the maximum number of history messages sent to the LLM. This setting may be significantly influenced by the maximum token limit of the provided LLM, so it would be better if we could set this parameter.
Perhaps this code is related:

const MAX_HISTORY_LENGTH = 100;

Solution

Allow user setting MAX_HISTORY_LENGTH in the config instead of hardcode

@dosubot dosubot bot added area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants