logoalt Hacker News

rvbatoday at 5:02 PM1 replyview on HN

Apologies for asking here but literally nobody knows:

Android studio connected to a local model disconnects automatically after 10 minutes. How set this limit to 12 hours or remove it completely?

I could run my LM studio model all night... but I cant, since Android studio times out after a hard limit of 10M.

This is not related to number of tokens.

I tried Googling, searching for settings in Android studio, even created a stackoverflow post - but zero information. Jetbrains mentions "remote agent timeout mechanism" - but after changing it, nothing happens.


Replies

NortySpocktoday at 6:24 PM

If the local model is served via ollama, there's a default timeout of 10 minutes , which can be adjusted either per-call , or (as I did) in the systemd service environment variables

https://docs.ollama.com/faq#how-do-i-keep-a-model-loaded-in-...

You didn't specify what was serving your local model.

show 1 reply