mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-01-13 19:55:44 +00:00
opt: api name adjuest
This commit is contained in:
@@ -375,7 +375,7 @@ async def download_benchmark_result(
|
||||
raise HTTPException(status_code=404, detail=str(e))
|
||||
|
||||
|
||||
@router.get("/benchmark/list_compare_tasks", dependencies=[Depends(check_api_key)])
|
||||
@router.get("/benchmark/list_results", dependencies=[Depends(check_api_key)])
|
||||
async def list_benchmark_tasks(limit: int = 50, offset: int = 0):
|
||||
dao = BenchmarkResultDao()
|
||||
tasks = dao.list_tasks(limit=limit, offset=offset)
|
||||
|
||||
Reference in New Issue
Block a user