You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Context window should follow selected model (Flash/Pro/Ollama all show placeholder 14745)
#3684
Title: Context window should follow selected model (Flash/Pro/Ollama all show placeholder 14745)
Bug result: Selecting any model β DeepSeek v4 Flash, DeepSeek v4 Pro, or a local
Ollama model β the βContextβ field in the Web/TUI model selector always shows the
same placeholder value 14745 tokens (~14.4k). It does NOT change with the selected
model.
Expected: Context should display per selected model:
Model
Currently shown
Expected UI
DeepSeek v4 Flash
14745 (placeholder)
512000
DeepSeek v4 Pro
14745 (placeholder)
1000000
Ollama local large ctx
14745 (placeholder)
context_length (actual)
Repro: In Web UI model list, select Flash / Pro / Ollama in turn and look at the
βContextβ field. All three show 14745.
Expected: each model shows its real context window.
Acceptance: after selecting each model the context field shows its expected value.
Technical note (for devs):
Default context config lives in packages/llm/llm-deepseek/ (@deepseek-ai/dsh-llm-deepseek);
models.ts entries missing a contextWindow fall back to this global placeholder default.
The model selector and the context render field read one shared global placeholder and
apply no per-model override.
Backend maxTokens default 256000 is mismatched to the displayed context window; worth aligning.
Environment/files: Web + TUI; DeepSeek creds in ~/.dsh; models v4 Flash / v4 Pro.
This is a feature/report request, not a patch β happy to help scope it. Thanks, maintainers!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Title: Context window should follow selected model (Flash/Pro/Ollama all show placeholder 14745)
Bug result: Selecting any model β DeepSeek v4 Flash, DeepSeek v4 Pro, or a local
Ollama model β the βContextβ field in the Web/TUI model selector always shows the
same placeholder value
14745 tokens(~14.4k). It does NOT change with the selectedmodel.
Expected: Context should display per selected model:
Repro: In Web UI model list, select Flash / Pro / Ollama in turn and look at the
βContextβ field. All three show
14745.Expected: each model shows its real context window.
Acceptance: after selecting each model the context field shows its expected value.
Technical note (for devs):
models.ts entries missing a contextWindow fall back to this global placeholder default.
apply no per-model override.
Environment/files: Web + TUI; DeepSeek creds in ~/.dsh; models v4 Flash / v4 Pro.
This is a feature/report request, not a patch β happy to help scope it. Thanks, maintainers!
All reactions