Skip to content
Discussion options

You must be logged in to vote

It depends on the provider of workspace B. When workspace B uses the same provider as the global model (Ollama, LM Studio, LocalAI, Generic OpenAI and other local or self-hosted providers), the answer is yes: the 45k cap applies to its 128k model too.

AnythingLLM gets a workspace's context window from that workspace's provider and model (Workspace._getContextWindow). For these providers, though, the "Model context window" / token limit field on the LLM Preference page is stored once per provider (for Ollama it is OLLAMA_MODEL_TOKEN_LIMIT), not once per model. The window a workspace ends up with is the smaller of that value and the model's own window (Ollama promptWindowLimit):

effective w…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by timothycarambat
Comment options

You must be logged in to vote
4 replies
@CutWire22
Comment options

@timothycarambat
Comment options

@CutWire22
Comment options

@timothycarambat
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants