Skip to content

docs(proxy): add [Beta] Rust AI Gateway page - #626

Merged
ishaan-berri merged 3 commits into
mainfrom
docs-rust-ai-gateway
Jul 22, 2026
Merged

docs(proxy): add [Beta] Rust AI Gateway page#626
ishaan-berri merged 3 commits into
mainfrom
docs-rust-ai-gateway

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

New docs page proxy/rust_gateway documenting how to adopt the Rust core, split into the two modes requested

Mode 1 (low risk, on the existing Python server): enable the Rust path per model by setting rust: true in a deployment's litellm_params, or per process via LITELLM_RUST=true (Anthropic /v1/messages) and LITELLM_USE_RUST_OCR=true (/ocr). The page shows validating the path from the x-litellm-rust: true response header, and a table of what runs on Rust today (Anthropic /v1/messages for anthropic/azure_ai, /ocr for mistral/azure_ai/vertex_ai, Bedrock audio transcription, OpenAI Responses API WebSockets). The details are pulled from the litellm handlers (_maybe_rust_anthropic_messages gating on litellm_params.get("rust") is True, _rust_env_enabled, _RUST_OCR_PROVIDERS)

Mode 2 (standalone Axum server): documented as pending since the Docker image is not published yet; the section is stubbed with a note to fill in the image reference and deployment example once it ships

Version note: the per-model rust: true flag for /v1/messages first shipped in v1.94.0-rc.1 (PR BerriAI/litellm#33616, merged 2026-07-18), so it goes live in v1.94.0-stable; called out in the page's info admonition

Added to the sidebar under Proxy -> Setup & Deployment. npm run build passes (only preexisting unrelated warnings)

Link to Devin session: https://app.devin.ai/sessions/d16e781009c04998a6e6e7009fbfb483
Requested by: @ishaan-berri

devin-ai-integration Bot and others added 2 commits July 22, 2026 01:22
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
@ishaan-berri ishaan-berri self-assigned this Jul 22, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Jul 22, 2026 2:17am

Request Review

Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
@ishaan-berri
ishaan-berri merged commit dc80b0c into main Jul 22, 2026
2 checks passed
@ishaan-berri
ishaan-berri deleted the docs-rust-ai-gateway branch July 22, 2026 17:06
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.

1 participant