feat(providers): add Auxen as a declarative provider#9386
Conversation
Signed-off-by: Aaron Sampson <hello@auxen.ai>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 88945816a6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "name": "AUXEN_API_KEY", | ||
| "required": true, | ||
| "secret": true, |
There was a problem hiding this comment.
Remove duplicated AUXEN_API_KEY config field
Defining AUXEN_API_KEY in both api_key_env and env_vars creates two config entries for the same key, because declarative registration always adds api_key_env first and then appends every env_vars entry without deduplication (crates/goose/src/providers/provider_registry.rs). In setup/config UIs this yields duplicate required secret fields for Auxen, which is confusing and can cause inconsistent form handling when clients assume keys are unique.
Useful? React with 👍 / 👎.
Adds Auxen as a declarative provider in goose. Auxen hosts per-customer dedicated LLM endpoints (Llama 3.1/3.2, Qwen 2.5, Mistral, Gemma 2, Mixtral, Phi-3, Command R) with an OpenAI-compatible `/v1/chat/completions` API. Each instance is a dedicated GPU billed per-minute of runtime — no token charges, no monthly minimums.
Why declarative
Auxen instances are OpenAI-wire-compatible, so this follows the same pattern as the existing `atomic_chat.json` declarative provider — uses `${AUXEN_API_BASE}` env-var interpolation in `base_url` because every Auxen instance has its own per-instance URL of the form `https://api.auxen.ai/v1/inst_xxx/v1\` issued by the Auxen dashboard. Users set both `AUXEN_API_BASE` and `AUXEN_API_KEY` (the `auxk_*` token) when configuring the provider.
Files
Companion PRs (Auxen distribution series)
AI agent (Claude) assisted in drafting this PR.