Skip to content

Fix edge token count error#1

Closed
Mte90 wants to merge 1 commit into
mainfrom
avoid-token-crash
Closed

Fix edge token count error#1
Mte90 wants to merge 1 commit into
mainfrom
avoid-token-crash

Conversation

@Mte90
Copy link
Copy Markdown
Owner

@Mte90 Mte90 commented Feb 25, 2025

In some cases avoid a crash if the tokenizer don't find anything else

Maybe it is opinionated because we did some patches for BerriAI#8587 but I think that a check if the list is not empty is not bad as assure more safety in litellm itself, also is not a problematic change.

In some cases avoid a crash if the tokenizer don't find anything else
@Mte90 Mte90 closed this Feb 25, 2025
Mte90 pushed a commit that referenced this pull request Aug 27, 2025
feat: add CometAPI provider support with chat completions and streaming
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