Skip to content

feat: add native Groq provider support#35

Open
Ayush-sinha44 wants to merge 1 commit into
mskayyali:mainfrom
Ayush-sinha44:feat/groq-provider
Open

feat: add native Groq provider support#35
Ayush-sinha44 wants to merge 1 commit into
mskayyali:mainfrom
Ayush-sinha44:feat/groq-provider

Conversation

@Ayush-sinha44
Copy link
Copy Markdown

Summary

This PR adds native support for Groq as a direct provider. While Groq was previously accessible via OpenRouter, this integration allows users to use their Groq API keys directly for lower latency and better model-specific control.

Changes

  • New Provider: Added "Groq" to the provider selection dropdown.
  • API Configuration: Set the base URL to https://api.groq.com/openai/v1 using the OpenAI-compatible SDK pattern.
  • Settings UI: Added a secure input field for GROQ_API_KEY in the settings sidebar.
  • Testing: Verified that streaming works correctly with llama3-70b-8192 and mixtral-8x7b-32768.

Impact

This implementation follows the existing provider architecture and serves as a functional template for supporting generic OpenAI-compatible custom endpoints.

Closes #34

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.

Feature Request: Add native Groq provider support

1 participant