mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-26 09:21:23 -04:00
fix: load the leaderboard activity chart for model ids that contain a slash (#30456)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user