Skip to content
New issue

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

[Bug]: api_base is none while accessing model analytics page #8505

Open
mgnisia opened this issue Feb 13, 2025 · 0 comments
Open

[Bug]: api_base is none while accessing model analytics page #8505

mgnisia opened this issue Feb 13, 2025 · 0 comments
Assignees
Labels
bug Something isn't working feb 2025 ui

Comments

@mgnisia
Copy link

mgnisia commented Feb 13, 2025

What happened?

We have set up litellm in a ECS Cluster with AWS Bedrock. We are running into the issue that the _api_base variable is None when accessing the Model Analytics Page, the page is empty and no results are returned.

Config:

model_list:
  - model_name: bedrock-claude-v3.5
    litellm_params:
      model: bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
      aws_region_name: eu-central-1

Relevant log output

February 13, 2025 at 06:59 (UTC+1:00)
	
File "/usr/lib/python3.13/site-packages/litellm/proxy/proxy_server.py", line 6473, in model_metrics
	
server
February 13, 2025 at 06:59 (UTC+1:00)
	
if "https://" in _api_base:
	
server
February 13, 2025 at 06:59 (UTC+1:00)
	
^^^^^^^^^^^^^^^^^^^^^^^
	
server
February 13, 2025 at 06:59 (UTC+1:00)
	
TypeError: argument of type 'NoneType' is not iterable
	
server

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.61.1

Twitter / LinkedIn details

No response

@mgnisia mgnisia added the bug Something isn't working label Feb 13, 2025
@krrishdholakia krrishdholakia self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feb 2025 ui
Projects
None yet
Development

No branches or pull requests

2 participants