Repository navigation
docs: add TypeSafe AI Jev pass-through page - #1524
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7 tasks done
1 task done
Contributor
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 673f472. Configure here.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
docs/pass_through/typesafe.mdand its sidebar entry for the/typesafe/{endpoint}pass-through introduced in BerriAI/litellm#41607. The page documentsTYPESAFE_API_KEYandTYPESAFE_API_BASE, thePOST /typesafe/v1/systemonecall shape, and how spend is derived from the responseusageand thetypesafe/<model>registry entries. The litellm PR'sdocumentationcheck fails untilTYPESAFE_API_BASEis mentioned in these docs, so this lands firstResolves LIT-7975
User Flow
Before: the TypeSafe pass-through has no page, so a reader cannot find the route or the variable names to set
TYPESAFE_API_KEYorTYPESAFE_API_BASEand get no resultAfter: the page exists, is listed, and walks them through the setup
export TYPESAFE_API_KEY, the optionalTYPESAFE_API_BASE, thePOST http://0.0.0.0:4000/typesafe/v1/systemonerequest, TypeSafe's response, and the Cost Tracking sectionScreenshots / Proof of Fix
Before (docs main 4988b19, the live site)
curl -s -o /dev/null -w '%{http_code}\n' https://docs.litellm.ai/docs/pass_through/typesafeAfter (tip 673f472, Vercel preview built from this branch)
https://litellm-git-litellmtypesafepassthroughdocs-clerkieai.vercel.app/docs/pass_through/typesafe answers 200 with the title "TypeSafe AI (Jev) | liteLLM", the sidebar entry under Pass-through Endpoints, both environment variables, the curl, the response, and the Cost Tracking section
The litellm check this page unblocks
tests/documentation_tests/test_env_keys.pyrun from a litellm checkout at each PR head, withdocs/my-websitechecked out at docs main and then at this tip (the same layout thecode-qualityanddocumentationworkflows use):The page's request was also sent to the live API on 2026-09-17:
POST https://api.typesafe.ai/v1/systemonewith the Quick Start body returned 200 withmodel: jev-1.13.0,answers.departmentcarryingtype,choice,confidence, andprobabilities, andusage.input_tokensplususage.output_tokens, the shape the page shows.GET /v1/modelslistsjev-latestandjev-previewDependents checked: the
sidebars.jsentry (thestructurecheck and the Vercel build are green at the tip), the litellm env-var docs check above, and the cross-link from #1525, which resolves once this page is on mainCaveats
Low
documentationandcode-quality, so leaving it is the better tradebillingrather thantechnicalfor that prompt; rewriting the numbers would cost another Bugbot run and Vercel build while the litellm PRs wait on this mergeLink to Devin session: https://app.devin.ai/sessions/b8ce9e101c644969abb9bcc9dfa2c333
Open in Devin Desktop: https://app.devin.ai/desktop/session/b8ce9e101c644969abb9bcc9dfa2c333?variant=devin
Requested by: @mateo-berri
Note
Low Risk
Documentation and sidebar navigation only; no runtime or API behavior changes in this repo.
Overview
Adds documentation for the TypeSafe AI (Jev) proxy pass-through at
/typesafe/{endpoint}, intended to ship with the implementation in litellm PR #41607.The new
docs/pass_through/typesafe.mdpage explains how to point clients at the proxy instead ofapi.typesafe.ai, configureTYPESAFE_API_KEYand optionalTYPESAFE_API_BASE, callPOST /typesafe/v1/systemone(not chat completions), and how cost/logging work from responseusageandtypesafe/<model>registry entries.sidebars.jsis updated so the page appears under Pass-through Endpoints.Reviewed by Cursor Bugbot for commit 673f472. Bugbot is set up for automated code reviews on this repo. Configure here.