diff --git a/backend/open_webui/routers/chats.py b/backend/open_webui/routers/chats.py index 13bae42b21..68adf6b548 100644 --- a/backend/open_webui/routers/chats.py +++ b/backend/open_webui/routers/chats.py @@ -210,7 +210,7 @@ class ChatStatsExportList(BaseModel): @router.get("/stats/export", response_model=ChatStatsExportList) -async def export_chat_stats( +def export_chat_stats( request: Request, chat_id: Optional[str] = None, start_time: Optional[int] = None,