Merge pull request #3289 from andeplane/patch-1

Fixed typo in token_usage.md
This commit is contained in:
Ishaan Jaff 2024-04-25 09:08:53 -07:00 • committed by GitHub
commit 54e0acde35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ However, we also expose 3 public helper functions to calculate token usage acros
```python
from litellm import token_counter
messages = [{"user": "role", "content": "Hey, how's it going"}]
messages = [{"role": "user", "content": "Hey, how's it going"}]
print(token_counter(model="gpt-3.5-turbo", messages=messages))
```