fix: load sources on shared conversations

This commit is contained in:
ManishMadan2882
2024-09-11 17:55:31 +05:30
parent 14ab950a6c
commit 919a87bf47
5 changed files with 52 additions and 3 deletions

View File

@@ -593,8 +593,6 @@ def get_publicly_shared_conversations(identifier: str):
404,
)
conversation_queries = conversation["queries"][: (shared["first_n_queries"])]
for query in conversation_queries:
query.pop("sources") ## avoid exposing sources
else:
return (
jsonify(