docs(model_management.md): update docs to clarify calling /model/info

This commit is contained in:
Krrish Dholakia 2024-07-11 09:47:50 -07:00
parent 8fa2cf15ee
commit 070ab9f469
2 changed files with 7 additions and 2 deletions

View file

@ -2673,6 +2673,11 @@ async def startup_event():
def model_list(
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
):
"""
Use `/model/info` - to get detailed model information, example - pricing, mode, etc.
This is just for compatibility with openai projects like aider.
"""
global llm_model_list, general_settings
all_models = []
## CHECK IF MODEL RESTRICTIONS ARE SET AT KEY/TEAM LEVEL ##