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
4c221eab
Commit
4c221eab
authored
Apr 20, 2024
by
Timothy J. Baek
Browse files
refac
parent
b12edb4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
backend/apps/web/models/chats.py
backend/apps/web/models/chats.py
+2
-1
No files found.
backend/apps/web/models/chats.py
View file @
4c221eab
...
...
@@ -123,7 +123,8 @@ class ChatTable:
"user_id"
:
f
"shared-
{
chat_id
}
"
,
"title"
:
chat
.
title
,
"chat"
:
chat
.
chat
,
"created_at"
:
int
(
time
.
time
()),
"created_at"
:
chat
.
created_at
,
"updated_at"
:
int
(
time
.
time
()),
}
)
shared_result
=
Chat
.
create
(
**
shared_chat
.
model_dump
())
...
...
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