Skip to content

Stop retrying timed-out Ollama generations; wait 30 minutes - #268

Merged
Fujio-Turner merged 1 commit into
release-4.0.0-betafrom
fix/ollama-long-timeout
Sep 15, 2026
Merged

Fujio-Turner merged 1 commit into
release-4.0.0-betafrom
fix/ollama-long-timeout

Conversation

@Fujio-Turner

Copy link
Copy Markdown
Owner

Logs showed ReadTimeoutError at 300s then urllib3 retrying the same chat/completions request, which restarts Ollama. Local-openai now waits 30 minutes, does not retry a live generation, and marks the job Processing.

A 27B model on a ~137 KB payload was hitting the 5-minute HTTP timeout.
urllib3 then retried the same /chat/completions call, so Ollama kept
"still processing" while history stayed Pending. Local providers now use
a 30-minute read timeout, no read-timeout retries, status=processing,
and the UI polls for 30 minutes.
@Fujio-Turner
Fujio-Turner merged commit 78daa33 into release-4.0.0-beta Sep 15, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant