mirror of
https://github.com/usestrix/strix.git
synced 2026-11-04 07:27:16 +00:00
Folding GROQ_API_KEY into the generic api_key AliasChoices let the wrong provider credential be selected: with both OPENAI_API_KEY and GROQ_API_KEY set the OpenAI key won by alias order, and a Groq-only key would be mirrored into OPENAI_API_KEY on non-Groq runs. Give Groq a dedicated groq_api_key field (like perplexity_api_key) that is only ever exported as GROQ_API_KEY, so it never contaminates the generic key or another provider's env. LiteLLM reads GROQ_API_KEY natively; the export also lets persisted config reach the provider. Signed-off-by: Daniel Nguyen <danielnguyenh07@gmail.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| config | ||
| core | ||
| interface | ||
| report | ||
| runtime | ||
| skills | ||
| telemetry | ||
| tools | ||
| utils | ||
| __init__.py | ||