Skip to content

Fix token_counter with special token input - #13374

Merged
1 commit merged into
BerriAI:mainfrom
blahgeek:fix-count-special-token
Aug 27, 2025
Merged

Fix token_counter with special token input#13374
1 commit merged into
BerriAI:mainfrom
blahgeek:fix-count-special-token

Conversation

@blahgeek

@blahgeek blahgeek commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Title

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
Screenshot 2025-08-08 at 00 04 57

(error seems irrelevant)

Type

🐛 Bug Fix

Changes

@vercel

vercel Bot commented Aug 7, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 3:51pm

@CLAassistant

CLAassistant commented Aug 7, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ghost
ghost merged commit 71af7bc into BerriAI:main Aug 27, 2025
5 of 6 checks passed
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
Fix token_counter with special token input
This pull request was closed.
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