Commit 767ba277 authored by Kantz's avatar Kantz
Browse files

cleanup 2

parent f65e8af9
...@@ -106,12 +106,6 @@ def get_task_asset(asset_path: str) -> FileResponse: ...@@ -106,12 +106,6 @@ def get_task_asset(asset_path: str) -> FileResponse:
return FileResponse(candidate) return FileResponse(candidate)
@router.get("/api/tasks/config")
def get_task_config() -> dict[str, object]:
orchestrator = config.get_orchestrator()
return {"orchestrator": orchestrator, "enabled": orchestrator in TASK_ORCHESTRATORS}
@router.get("/api/tasks", response_model=TasksResponse) @router.get("/api/tasks", response_model=TasksResponse)
def list_tasks() -> TasksResponse: def list_tasks() -> TasksResponse:
orchestrator = config.get_orchestrator() orchestrator = config.get_orchestrator()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment