Skip to content

[Feature Request]: Adjustable thinking strength & context length for DeepSeek and other reasoning models #153

Description

@lidao2026-Coding

Is your feature request related to a problem?

Yes. When using DeepSeek (and other reasoning-capable models) through DeepCode, I cannot adjust the thinking/reasoning strength (effort) or the context length / max context window from the Desktop GUI (nor clearly from the CLI). These are the most basic model controls for a coding agent, and their absence is very disappointing for daily use.

Concretely:

  • Reasoning effort: The Desktop composer has a "Thinking" selector, but for DeepSeek (and similar providers) there is no exposed/working way to choose the thinking level (low/medium/high) — the option either doesn't appear or has no effect on the actual request.
  • Context length: There is no UI to control the max context window / token budget used per turn (e.g. 32K / 64K / 128K), which matters on DeepSeek's 64K/128K contexts when working on large repos.

Describe the solution you'd like

  1. Per-model thinking strength control: For providers that support reasoning effort (DeepSeek thinking, OpenAI-style reasoning_effort, Anthropic extended thinking, etc.), expose a working selector in the Desktop composer (and CLI /effort) that actually translates into the provider request. Show it for every model that advertises the capability.
  2. Context/token budget control: Add a per-session (or per-turn) setting for max context window (token cap), with sensible presets, so users can tune memory usage for large repositories.

Describe alternatives you've considered

  • Exposing raw "advanced model parameters" in Settings (JSON or form fields) as a fallback for power users.
  • Documenting the exact CLI flags that map to these controls so at least CLI users can set them.

Additional context

  • Provider: DeepSeek (openai-compatible endpoint), via deepcode provider set deepseek ....
  • Model example: deepseek-chat / deepseek-reasoner.
  • Version: DeepCode Desktop 0.1.0 (v2.0.0 runtime). README advertises "Thinking 档位" (/effort) support, but it is not functional/exposed for DeepSeek today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions