forked from phoenix/litellm-mirror
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(
|
||||
"/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):
|
||||
""" """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue