Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
a0667dfd
Commit
a0667dfd
authored
Jul 22, 2024
by
Aryan Kothari
Browse files
change `/chats/` and `/chats/list` to utilize new function
parent
2b78e613
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/webui/routers/chats.py
backend/apps/webui/routers/chats.py
+1
-1
No files found.
backend/apps/webui/routers/chats.py
View file @
a0667dfd
...
...
@@ -45,7 +45,7 @@ router = APIRouter()
async
def
get_session_user_chat_list
(
user
=
Depends
(
get_verified_user
),
skip
:
int
=
0
,
limit
:
int
=
50
):
return
Chats
.
get_chat_list_by_user_id
(
user
.
id
,
skip
,
limit
)
return
Chats
.
get_chat_
title_id_
list_by_user_id
(
user
.
id
,
skip
=
skip
,
limit
=
limit
)
############################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment