mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Update litellm/proxy/proxy_server.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
1c238b630f
commit
4aed2c9e3b
1 changed files with 2 additions and 0 deletions
|
|
@ -9164,6 +9164,8 @@ async def token_counter(request: TokenCountRequest, call_endpoint: bool = False)
|
|||
contents=contents,
|
||||
deployment=deployment,
|
||||
request_model=request.model,
|
||||
tools=tools,
|
||||
system=system,
|
||||
)
|
||||
except httpx.HTTPStatusError as e:
|
||||
error_message = getattr(e, "message", None) or str(e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue