Skip to content

Adding ollama timeout of 30 seconds for api request#302

Open
Arijit429 wants to merge 2 commits intofireform-core:mainfrom
Arijit429:add-ollama-timeout
Open

Adding ollama timeout of 30 seconds for api request#302
Arijit429 wants to merge 2 commits intofireform-core:mainfrom
Arijit429:add-ollama-timeout

Conversation

@Arijit429
Copy link

This change adds timeout support when calling the Ollama API to prevent the backend from hanging indefinitely if the local LLM service is not responding in the mean time. This change will show a clear message to the user that ollama is not responding after 30 seconds of runtime instead of hanging forever.

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