Skip to content

[BUG] OpenCode Go: V4.1 Flash uses 200K context #1648

Description

@carloslato

Describe the bug
DeepSeek V4.1 Flash (deepseek-v4.1-flash) falls back to Zoo's default 200K context window when used with OpenCode Go, instead of its 1M context window.

To Reproduce

  1. Select OpenCode Go as the provider.
  2. Select DeepSeek V4.1 Flash.
  3. Disable automatic context condensing.
  4. Continue a conversation until the context reaches ~150K tokens.
  5. Zoo starts omitting older messages.

Expected behavior
Zoo should use a 1M context window for DeepSeek V4.1 Flash.

Screenshots
Not applicable.

Video
Not applicable.

What version of zoo are you running
3.82.1

Additional context
The OpenCode Go API does not provide context-window metadata. Zoo's opencodeGoDefaultModelInfo uses a 200K fallback, while deepseek-v4-flash is explicitly configured with a 1M context window. deepseek-v4.1-flash appears to be missing from the model registry and therefore falls back to 200K.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions