mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-17 00:14:24 +00:00
conversation tile: add menu, add share modal
This commit is contained in:
1 parent
3357ce8f33
commit
d6e59a6a0a
8 files changed
+238
-32
No files matched your search
@@ -498,6 +498,7 @@ def delete_api_key():
|
||||
|
||||
|
||||
#route to share conversation
|
||||
##isPromptable should be passed through queries
|
||||
@user.route("/api/share",methods=["POST"])
|
||||
def share_conversation():
|
||||
try:
|
||||
@@ -526,7 +527,7 @@ def share_conversation():
|
||||
"$ref":"conversations",
|
||||
"$id":ObjectId(conversation_id)
|
||||
} ,
|
||||
"isPromptable":isPromptable,
|
||||
"isPromptable":isPromptable,
|
||||
"first_n_queries":current_n_queries,
|
||||
"user":user
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user