fix: load the leaderboard activity chart for model ids that contain a slash (#30456)

This commit is contained in:
G30
2026-09-23 23:32:42 -04:00
committed by GitHub
parent a7d81ebdcf
commit 7e2bea8253
+1 -1
View File
@@ -265,7 +265,7 @@ async def get_leaderboard(
return LeaderboardResponse(entries=entries)
@router.get('/leaderboard/{model_id}/history', response_model=ModelHistoryResponse)
@router.get('/leaderboard/{model_id:path}/history', response_model=ModelHistoryResponse)
async def get_model_history(
model_id: str,
days: int = 30,