Skip to content

docs: show autorouter curl across chat completions, messages, and responses APIs#555

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784041960-autorouter-curl-tabs
Open

docs: show autorouter curl across chat completions, messages, and responses APIs#555
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784041960-autorouter-curl-tabs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The Auto Routing quick start showed a single Chat Completions curl for calling the router model. This replaces it with <Tabs>/<TabItem> covering the three client-facing APIs the auto router works on, each passing smart-router as the model:

  • Chat Completions: POST /v1/chat/completions with messages
  • Messages (Anthropic): POST /v1/messages with messages + max_tokens
  • Responses: POST /v1/responses with input

Intro line now notes the router works across all three endpoints so a client uses whichever API it already speaks. Tabs/TabItem were already imported in the file. Verified with npm run build.

Link to Devin session: https://app.devin.ai/sessions/69549e355b594ae48096ab71896826f8
Requested by: @krrish-berri-2

…ses APIs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@krrish-berri-2 krrish-berri-2 self-assigned this Jul 14, 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 14, 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 14, 2026 3:21pm

Request Review

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.

2 participants