Timeouts despite setting in config. #2455

Closed
opened 2026-02-16 17:35:43 -05:00 by yindo · 5 comments
Owner

Originally created by @webboty on GitHub (Nov 1, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Unfortunately I am still running into timeouts when working with bigger models.
The funny thing is, it does not matter if the model is streaming or not, it just times out - see screenshot attached.

Setting in opencode as below.

 "provider": {
    "lmstudio-a" : {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LM Studio (local)",
      "options": {
        "baseURL": "http://192.168.1.107:11435/v1",
        "timeout": 150000,
        "includeUsage": true,
        "apiKey": "sfgsrgg"
      },
      "models": {
        "minimax-m2": {"name": "MiniMax M2 - 5Bit MLX", "limit": {"context": 132000, "output": 16000}}
      }
    }
}

OpenCode version

0.15.31

Steps to reproduce

Make a request to a local model that is bigger in size.

Screenshot and/or share link

Image

Operating System

macOS Sonoma 14.4

Terminal

Ghostty

Originally created by @webboty on GitHub (Nov 1, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Unfortunately I am still running into timeouts when working with bigger models. The funny thing is, it does not matter if the model is streaming or not, it just times out - see screenshot attached. Setting in opencode as below. ``` "provider": { "lmstudio-a" : { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio (local)", "options": { "baseURL": "http://192.168.1.107:11435/v1", "timeout": 150000, "includeUsage": true, "apiKey": "sfgsrgg" }, "models": { "minimax-m2": {"name": "MiniMax M2 - 5Bit MLX", "limit": {"context": 132000, "output": 16000}} } } } ``` ### OpenCode version 0.15.31 ### Steps to reproduce Make a request to a local model that is bigger in size. ### Screenshot and/or share link <img width="2884" height="2538" alt="Image" src="https://github.com/user-attachments/assets/674b1512-7383-4dd8-aba3-3171b707feb7" /> ### Operating System macOS Sonoma 14.4 ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:35:43 -05:00
yindo closed this issue 2026-02-16 17:35:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2974: Same user reporting timeout settings being ignored with LM Studio and MLX models - this appears to be the exact same issue
  • #1065: User experiencing timeout issues with local models where timeout config wasn't working properly
  • #763: User getting frequent TimeoutError with LM Studio and local models

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 1, 2025): This issue might be a duplicate of existing issues. Please check: - #2974: Same user reporting timeout settings being ignored with LM Studio and MLX models - this appears to be the exact same issue - #1065: User experiencing timeout issues with local models where timeout config wasn't working properly - #763: User getting frequent TimeoutError with LM Studio and local models Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 1, 2025):

@webboty i mean how long does it take to timeout? You could also set “timeout”: false to disable it

@rekram1-node commented on GitHub (Nov 1, 2025): @webboty i mean how long does it take to timeout? You could also set “timeout”: false to disable it
Author
Owner

@webboty commented on GitHub (Nov 1, 2025):

It took 2 minutes and 30 seconds to timeout. Interesting ... it even started streaming and was done with thinking ... was about to prepare a tool call next (i think) ... and then repeatedly after 2 minutes and 30 seconds - a hard cut with the timeout message.

I will try setting it to false next and test again.

Image
@webboty commented on GitHub (Nov 1, 2025): It took 2 minutes and 30 seconds to timeout. Interesting ... it even started streaming and was done with thinking ... was about to prepare a tool call next (i think) ... and then repeatedly after 2 minutes and 30 seconds - a hard cut with the timeout message. I will try setting it to false next and test again. <img width="1964" height="1248" alt="Image" src="https://github.com/user-attachments/assets/dd89f8ef-6dbc-4ee7-97f5-e70a392caaa0" />
Author
Owner

@rekram1-node commented on GitHub (Nov 1, 2025):

@webboty well the timeout is in milliseconds and you have it set to the equivalent of 2.5 minutes so thatd be expected

@rekram1-node commented on GitHub (Nov 1, 2025): @webboty well the timeout is in milliseconds and you have it set to the equivalent of 2.5 minutes so thatd be expected
Author
Owner

@webboty commented on GitHub (Nov 1, 2025):

I set it to false and it is working.

OMG ... of course it is milliseconds and i forgot to add another 0!
Hmmm ... I feel stupid now and i am probably way overworked. :-|

Thanks for your support + time and sorry for bothering.

@webboty commented on GitHub (Nov 1, 2025): I set it to false and it is working. OMG ... of course it is milliseconds and i forgot to add another 0! Hmmm ... I feel stupid now and i am probably way overworked. :-| Thanks for your support + time and sorry for bothering.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2455