mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Fix the /v1/models output format (closes #7089)
This commit is contained in:
parent
9c6913ad61
commit
dcdc42fa06
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ def get_current_model_info():
|
|||
|
||||
|
||||
def list_models():
|
||||
return {'model_names': get_available_models()[1:]}
|
||||
return {'model_names': get_available_models()}
|
||||
|
||||
|
||||
def model_info_dict(model_name: str) -> dict:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue