Android Studio Times Out When Connecting to Local Models

vba7 · reddit · 2026-07-19

After integrating a local LM Studio service into Android Studio using models like Gemma and Qwen, the author found that short tasks ran fine. However, for tasks exceeding roughly 10 minutes, the client would disconnect with an `Error: Stream failed`. The author noticed that LM Studio was still running, suggesting an implicit timeout within Android Studio rather than a network issue. They are asking if this 10-minute limit can be adjusted via a configuration or MCP.json to allow agents to run longer tasks.

Original post →

More from coding & agent

coding & agent channel →