Skip to content

1.2.25 timeouts are too aggressive for larger local models #17307

Description

@boristsr

Description

As of 1.2.25 I'm getting a lot more timeouts on larger context sessions with local models like 1.2.25. With default settings I got an error after 2 minutes of prompt processing on a 100k context session of SSE read timed out.

After adjusting timeouts in opencode.json to 300,000 milliseconds it improved but doing a compaction still generated a less descriptive timeout of TimeoutError: The operation timed out after 5 minutes.

I've set it to

    "lmstudio": {
      ...
      "options": {
        ...
        "timeout": 3000000,
        "chunkTimeout": 3000000
      },

Which is 50 minutes which has resolved it for now. I couldn't see an obvious specific timeout in the diff between 1.2.24 and 1.2.25, but it's definitely more aggressive now and started occuring with a silent update.

Plugins

No response

OpenCode version

1.2.25

Steps to reproduce

  1. Open a session with a long context (100k-ish)
  2. Choose a local model like Qwen3.5 27b that is somewhat slow on your system
  3. Run /compact
  4. Experience timeouts

Screenshot and/or share link

No response

Operating System

Linux Mint 22.3 & Ubuntu 24.04

Terminal

Alacritty

Metadata

Metadata

Assignees

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