mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac
This commit is contained in:
@@ -166,7 +166,7 @@ async def import_chat(form_data: ChatImportForm, user=Depends(get_verified_user)
|
|||||||
|
|
||||||
|
|
||||||
@router.get("/search", response_model=list[ChatTitleIdResponse])
|
@router.get("/search", response_model=list[ChatTitleIdResponse])
|
||||||
async def search_user_chats(
|
def search_user_chats(
|
||||||
text: str, page: Optional[int] = None, user=Depends(get_verified_user)
|
text: str, page: Optional[int] = None, user=Depends(get_verified_user)
|
||||||
):
|
):
|
||||||
if page is None:
|
if page is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user