Merge pull request #191 from SecretiveShell/list-draft-models
fix function arguments for get_model_list
This commit is contained in:
commit
0c74cd80ea
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ async def list_draft_models(request: Request) -> ModelList:
|
|||
|
||||
models = get_model_list(draft_model_path.resolve())
|
||||
else:
|
||||
models = await get_current_model_list(is_draft=True)
|
||||
models = await get_current_model_list(model_type="draft")
|
||||
|
||||
return models
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue