forked from open-webui/open-webui
refac
This commit is contained in:
parent
b12edb4a7a
commit
4c221eabef
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ class ChatTable:
|
||||||
"user_id": f"shared-{chat_id}",
|
"user_id": f"shared-{chat_id}",
|
||||||
"title": chat.title,
|
"title": chat.title,
|
||||||
"chat": chat.chat,
|
"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())
|
shared_result = Chat.create(**shared_chat.model_dump())
|
||||||
|
|
Loading…
Reference in a new issue