Skip to content
Discussion options

You must be logged in to vote

To confirm though, if I do this the user wont be able to modify it in the prompt settings?

Correct, they wouldn't have to adjust parameters. They can still reproduce the error if they post something larger than the context window you set.

Is there a way to set the default context window higher in the source code, so it applies to every model without restricting the end user from changing the setting?

No it currently works by model name (including partial matches), something like this will be implemented, though, both customizing lengths for models and defining a default for all. A model spec will be good enough as it would limit your users to whatever options you set, anyway.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@danny-avila
Comment options

@frenzybiscuit
Comment options

@danny-avila
Comment options

Answer selected by frenzybiscuit
@danny-avila
Comment options

@frenzybiscuit
Comment options

@danny-avila
Comment options

@frenzybiscuit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6423 on March 19, 2025 20:14.