docs: add orphaned Token Counting page to sidebar#146
Open
Chesars wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
docs/count_tokens.md existed but was not referenced in sidebars.js, making it unreachable from the docs navigation. Wire it into the "Supported Endpoints" section next to anthropic_count_tokens.
835a532 to
e3636fb
Compare
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
docs/count_tokens.mdexists in the repo but is not referenced anywhere insidebars.js, can only land on it via a direct URL.This PR wires it into the Supported Endpoints section, right before the existing
anthropic_count_tokensentry. The two pages are complementary, not duplicates:count_tokens(this PR)litellm.acount_tokens()+ both proxy endpoints (/v1/messages/count_tokens,/v1/responses/input_tokens), multi-provider (OpenAI, Anthropic, Vertex, Bedrock, Gemini)anthropic_count_tokens(already in sidebar)/v1/messages/count_tokens(Anthropic format only)