(fix) linting

This commit is contained in:
ishaan-jaff 2023-12-06 13:14:26 -08:00
parent f3c3a9860a
commit cf6ecc03a5

View file

@ -1047,7 +1047,7 @@ def get_litellm_model_info(model: dict = {}):
#### [BETA] - This is a beta endpoint, format might change based on user feedback https://github.com/BerriAI/litellm/issues/933. If you need a stable endpoint use /model/info
@router.get("/v1/model/info", description="Provides more info about each model in /models, including config.yaml descriptions (except api key and api base)", tags=["model management"], dependencies=[Depends(user_api_key_auth)])
async def model_info(request: Request):
async def model_info_v1(request: Request):
global llm_model_list, general_settings, user_config_file_path
# Load existing config
with open(f"{user_config_file_path}", "r") as config_file: