We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was running litellm-proxy ghcr.io/berriai/litellm:main-v1.52.0.dev20, and got the following errors
ghcr.io/berriai/litellm:main-v1.52.0.dev20
litellm-7c566b99f6-lnxmz litellm Traceback (most recent call last): litellm-7c566b99f6-lnxmz litellm File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 1015, in _update_team_db litellm-7c566b99f6-lnxmz litellm raise e litellm-7c566b99f6-lnxmz litellm File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 995, in _update_team_db litellm-7c566b99f6-lnxmz litellm response_cost litellm-7c566b99f6-lnxmz litellm TypeError: can only concatenate str (not "float") to str litellm-7c566b99f6-lnxmz litellm Task exception was never retrieved litellm-7c566b99f6-lnxmz litellm future: <Task finished name='Task-562891' coro=<update_cache() done, defined at /usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py:1060> exception=TypeError("unsupported operand type(s) for +: 'float' and 'str'")> litellm-7c566b99f6-lnxmz litellm Traceback (most recent call last): litellm-7c566b99f6-lnxmz litellm File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 1290, in update_cache litellm-7c566b99f6-lnxmz litellm await _update_key_cache(token=token, response_cost=response_cost) litellm-7c566b99f6-lnxmz litellm File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 1096, in _update_key_cache litellm-7c566b99f6-lnxmz litellm new_spend = existing_spend + response_cost litellm-7c566b99f6-lnxmz litellm ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ litellm-7c566b99f6-lnxmz litellm TypeError: unsupported operand type(s) for +: 'float' and 'str' litellm-7c566b99f6-lnxmz litellm INFO: 10.5.0.3:35606 - "POST /chat/completions HTTP/1.1" 200 OK litellm-7c566b99f6-klhwt litellm INFO: 10.5.0.3:48558 - "POST /chat/completions HTTP/1.1" 200 OK litellm-7c566b99f6-lnxmz litellm 16:47:51 - LiteLLM Proxy:ERROR: proxy_server.py:951 - Update Key DB Call failed to execute - can only concatenate str (not "int") to str
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
I was running litellm-proxy
ghcr.io/berriai/litellm:main-v1.52.0.dev20
, and got the following errorsRelevant log output
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: