mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix make token counter a /utils/token_counter
This commit is contained in:
parent
d42e5fcbd5
commit
b790d65d28
1 changed files with 3 additions and 1 deletions
|
@ -4766,7 +4766,9 @@ async def moderations(
|
||||||
|
|
||||||
|
|
||||||
@router.post(
|
@router.post(
|
||||||
"/dev/token_counter", tags=["LLM Utils"], dependencies=[Depends(user_api_key_auth)]
|
"/utils/token_counter",
|
||||||
|
tags=["LLM Utils"],
|
||||||
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
)
|
)
|
||||||
async def token_counter(request: TokenCountRequest):
|
async def token_counter(request: TokenCountRequest):
|
||||||
""" """
|
""" """
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue