docs(integrations): add Auxen as a model provider#2992
Conversation
Auxen (auxen.ai) provisions per-customer dedicated GPU instances
behind an OpenAI-compatible endpoint. The integration uses
Langfuse's OpenAI drop-in replacement — point base_url at the
Auxen instance, all calls are auto-traced.
Files:
content/integrations/model-providers/auxen.mdx — quickstart
content/integrations/model-providers/meta.json — nav entry
(alphabetical,
between anthropic
and baseten)
|
@Samp2Alex is attempting to deploy a commit to the langfuse Team on Vercel. A member of the Team first needs to authorize it. |
|
|
| # ⚕️ HIPAA https://hipaa.cloud.langfuse.com | ||
|
|
||
| # Auxen — per-instance URL + key from the Auxen dashboard: | ||
| os.environ["AUXEN_BASE_URL"] = "https://api.auxen.ai/v1/inst_xxx" |
There was a problem hiding this comment.
Contradictory
/v1 in env var vs URL construction — Step 2 sets AUXEN_BASE_URL to "https://api.auxen.ai/v1/inst_xxx", which already contains /v1. Step 3 then appends another /v1, yielding https://api.auxen.ai/v1/inst_xxx/v1. Any user who pastes their dashboard URL verbatim will hit a double-versioned path that will 404. Either the env var example should not include the trailing path segment, or the /v1 suffix should not be appended in Step 3. The example env var and the URL construction must agree on where v1 lives in the URL hierarchy.
| os.environ["AUXEN_BASE_URL"] = "https://api.auxen.ai/v1/inst_xxx" | |
| os.environ["AUXEN_BASE_URL"] = "https://api.auxen.ai/inst_xxx" |
Prompt To Fix With AI
This is a comment left during a code review.
Path: content/integrations/model-providers/auxen.mdx
Line: 42
Comment:
**Contradictory `/v1` in env var vs URL construction** — Step 2 sets `AUXEN_BASE_URL` to `"https://api.auxen.ai/v1/inst_xxx"`, which already contains `/v1`. Step 3 then appends another `/v1`, yielding `https://api.auxen.ai/v1/inst_xxx/v1`. Any user who pastes their dashboard URL verbatim will hit a double-versioned path that will 404. Either the env var example should not include the trailing path segment, or the `/v1` suffix should not be appended in Step 3. The example env var and the URL construction must agree on where `v1` lives in the URL hierarchy.
```suggestion
os.environ["AUXEN_BASE_URL"] = "https://api.auxen.ai/inst_xxx"
```
How can I resolve this? If you propose a fix, please make it concise.| --- | ||
| title: Monitor Auxen with Langfuse | ||
| sidebarTitle: Auxen | ||
| logo: /images/integrations/auxen_icon.svg |
There was a problem hiding this comment.
Missing logo asset — The frontmatter references
/images/integrations/auxen_icon.svg, but no such file exists in public/images/integrations/. Every other provider in this directory has its SVG committed alongside the MDX file (e.g., deepseek_icon.svg, vllm_icon.svg). Without the file, the sidebar and any page header that renders the logo will show a broken image. The PR description acknowledges a follow-up PR is planned, but merging without the asset produces a visibly broken page in production.
Prompt To Fix With AI
This is a comment left during a code review.
Path: content/integrations/model-providers/auxen.mdx
Line: 4
Comment:
**Missing logo asset** — The frontmatter references `/images/integrations/auxen_icon.svg`, but no such file exists in `public/images/integrations/`. Every other provider in this directory has its SVG committed alongside the MDX file (e.g., `deepseek_icon.svg`, `vllm_icon.svg`). Without the file, the sidebar and any page header that renders the logo will show a broken image. The PR description acknowledges a follow-up PR is planned, but merging without the asset produces a visibly broken page in production.
How can I resolve this? If you propose a fix, please make it concise.Greptile review feedback on PR langfuse#2992: 1. URL construction: env var now holds the full base_url (including the trailing /v1 that the dashboard surfaces). The OpenAI client uses it as-is — no path-stitching, no double /v1. The dashboard URL pattern matches the example so a paste-verbatim flow works. 2. Logo asset: public/images/integrations/auxen_icon.svg added so the sidebar and page header don't render a broken image.
|
Both review items addressed in commit 24f3b69:
Both |
Greptile review on PR langfuse#2992 flagged the AUXEN_BASE_URL example as having a duplicated /v1, but both segments are real and required: the leading /v1 is Auxen's API version, the trailing /v1 is the OpenAI-compatible path inside the per-instance namespace where /chat/completions actually lives. Rewriting the inline comment so the structure is obvious to readers and reviewers without changing the URL value or the example flow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Thanks @greptile-apps for the careful review — addressing both points: 1. Double
So 2. Missing Let me know if you want anything else adjusted. |
|
Both points check out:
Both concerns are resolved — the page looks good to merge. Tip: You can customize Greptile's behavior for this repo with |
Adds Auxen to Integrations → Model Providers.
Auxen provisions per-customer dedicated GPU instances behind an OpenAI-compatible endpoint (Llama, Qwen, Mistral, Gemma, Phi-3, Mixtral, Command-R). Per-minute pricing, no subscriptions.
The integration uses Langfuse's OpenAI drop-in replacement (
from langfuse.openai import openai) pointed at the user's per-instance Auxen URL. No Langfuse-side changes — purely docs.Files:
content/integrations/model-providers/auxen.mdx— quickstart with Python OpenAI drop-in, pricing, links to SDKscontent/integrations/model-providers/meta.json— nav entry inserted alphabetically betweenanthropicandbasetenVerification (live):
Related Auxen surfaces:
pip install auxen)Note: the
logo.svgreferenced in frontmatter at/images/integrations/auxen_icon.svgwould need to be added topublic/in a follow-up — happy to PR that separately if useful.Greptile Summary
Adds a new
auxen.mdxintegration page under Model Providers and inserts the nav entry inmeta.json. The guide uses the Langfuse OpenAI drop-in pointed at a user's per-instance Auxen URL — no Langfuse-side code changes./v1in the path (https://api.auxen.ai/v1/inst_xxx), but Step 3 appends yet another/v1— any user copying the guide verbatim would hit a double-versioned URL. Either the env var example should omit the trailing/v1segment, or the code should not append it.logo: /images/integrations/auxen_icon.svgis referenced in frontmatter but the SVG is not present inpublic/images/integrations/, which will produce a broken image on the rendered page. The author notes a follow-up PR is planned for this.meta.jsonchange is correct —auxenis inserted alphabetically betweenanthropicandbaseten.Confidence Score: 3/5
The guide has a URL construction bug that would cause the quickstart to silently fail for users following it, and the referenced logo asset is not included in the PR.
Step 2 and Step 3 of the quickstart contradict each other on where
/v1belongs in the Auxen URL, so a developer copying the code verbatim would produce a malformed base_url and get API errors. The missing logo SVG also means the page renders with a broken image on merge. Both issues should be resolved before this page goes live.content/integrations/model-providers/auxen.mdx — the URL construction example and the missing logo asset both need attention before this page is safe to publish.
Sequence Diagram
sequenceDiagram participant User as Developer participant LF as langfuse.openai (drop-in) participant Auxen as Auxen Instance<br/>(OpenAI-compatible endpoint) participant LFAPI as Langfuse API User->>LF: openai.OpenAI(api_key, base_url) User->>LF: client.chat.completions.create(model, messages) LF->>Auxen: POST /v1/chat/completions Auxen-->>LF: ChatCompletion response LF-->>User: response.choices[0].message.content LF->>LFAPI: Async trace (tokens, latency, request/response)Prompt To Fix All With AI
Reviews (1): Last reviewed commit: "docs(integrations): add Auxen as a model..." | Re-trigger Greptile