mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
Merge pull request #191 from SecretiveShell/list-draft-models
fix function arguments for get_model_list
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user