Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ def ask_internal(conversation, question):

# fetch latest conversation
conversation = db.get(conversation_id, user_id)
sources = []

return answer, conversation, sources

Expand Down Expand Up @@ -221,6 +220,7 @@ def ask_api_new():
logging.error(m)
abort(400, m)
question = body["question"]
user_id = get_current_user_id()

conversation = {
"conversationId": str(uuid.uuid4()),
Expand Down