Fixed typo in token_usage.md

This commit is contained in:
Anders Hafreager 2024-04-25 09:47:25 +02:00 committed by GitHub
parent 74817c560e
commit 16a9cb34d9
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 ```python
from litellm import token_counter 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)) print(token_counter(model="gpt-3.5-turbo", messages=messages))
``` ```