mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) linting
This commit is contained in:
parent
f3c3a9860a
commit
cf6ecc03a5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue