Skip to content

fix: add 30s HTTP timeout to Groq plugin#11

Open
SeoFood wants to merge 1 commit intomainfrom
issue-6
Open

fix: add 30s HTTP timeout to Groq plugin#11
SeoFood wants to merge 1 commit intomainfrom
issue-6

Conversation

@SeoFood
Copy link
Copy Markdown
Contributor

@SeoFood SeoFood commented Apr 3, 2026

Adds a 30-second HTTP timeout to the Groq plugin's HttpClient, which previously had no timeout configured (infinite by default). This prevents the app from hanging when the Groq API is slow or unreachable. The existing error handling in OpenAiApiHelper already catches timeout exceptions and displays "API request timed out." to the user.

Fixes #6

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.

Groq plugin has no HTTP timeout — app hangs on slow/failed API calls

1 participant