strix icon indicating copy to clipboard operation
strix copied to clipboard

[FEATURE] Add first-class support for Groq API key and Groq-hosted models

Open DanielNg0729 opened this issue 5 months ago • 0 comments

Hi maintainer i would love to implementing this feature. Here's the details:

Is your feature request related to a problem? Please describe. Strix currently only recognizes LLM_API_KEY / OPENAI_API_KEY as the LLM key (see LlmSettings.api_key in strix/config/settings.py), and the README + LLM Providers docs only call out OpenAI, Anthropic, Google/Vertex, Bedrock, Azure, and local models. There is no documented, first-class way to run Strix on Groq, even though Groq offers an OpenAI-compatible API with very fast inference for open models (Llama 3.x, Kimi, gpt-oss, etc.). Users who already have a GROQ_API_KEY have to guess at env vars or fall back to undocumented workarounds.

Describe the solution you'd like Add first-class Groq support:

  • Accept GROQ_API_KEY as an alias for the LLM key alongside LLM_API_KEY / OPENAI_API_KEY in LlmSettings.api_key.

  • Officially support STRIX_LLM="groq/<model>". StrixProvider already forward non-OpenAI prefixes to LiteLLM, and LiteLLM already ships a groq/ provider, so this should mostly be validation + wiring rather than a new integration.

  • Verify _mirror_api_key_to_provider_env correctly maps the configured key to GROQ_API_KEY when a groq/ model is selected.

  • Document Groq in the README config section and the LLM Providers docs, including a couple of recommended Groq models and an example:

    export STRIX_LLM="groq/llama-3.3-70b-versatile"
    export GROQ_API_KEY="gsk_..."
    
    

Thank you very much!

DanielNg0729 avatar Jul 03 '26 16:07 DanielNg0729