Skip to content

Decrease the ollama completion request timeout from 300s to 30s #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

rdimitrov
Copy link
Member

@rdimitrov rdimitrov commented Feb 10, 2025

The following reduces the timeout from 300s to 30s. I've noticed that sometimes the Ollama server hangs and we get stuck waiting for 5min(300s). This should prevent this hanging and fail faster if there are issues with Ollama.

Note that this fixes one of the problems described in the issue.

Related: #951

@rdimitrov rdimitrov merged commit 24618c3 into main Feb 10, 2025
9 checks passed
@rdimitrov rdimitrov deleted the decrease-ollama-timeout branch February 10, 2025 17:09
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.

2 participants