mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
fix: load the leaderboard activity chart for model ids that contain a slash (#30456)
This commit is contained in:
parent
a7d81ebdcf
commit
7e2bea8253
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue