Fix flake8 F824 errors - remove unused global declarations

Remove unnecessary global declarations for MODEL_CLIENT_MAP that are never reassigned
This commit is contained in:
Claude 2025-11-10 19:39:36 +00:00
parent 22db7a9a8a
commit 39e39e80f1
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -31,8 +31,6 @@ def get_client_for_endpoint(endpoint, api_key):
def initialize_model_map():
"""Initialize the model-client mapping from environment variables"""
global MODEL_CLIENT_MAP
# Load endpoints from environment variables
for i in range(1000): # Support up to 1000 endpoints
endpoint_key = f"MODEL_ENDPOINT_{i}"