Skip to content

Commit

Permalink
fix function arguments for get_model_list
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretiveShell committed Sep 7, 2024
1 parent d34756d commit d57a3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints/core/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d57a3b4

Please sign in to comment.