conversation tile: add menu, add share modal

This commit is contained in:
ManishMadan2882 committed 2024-07-11 21:45:47 +05:30
1 parent 3357ce8f33
commit d6e59a6a0a
8 files changed
+238 -32

No files matched your search

+2 -1
View File
@@ -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
})