We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e6d8f commit bf80c07Copy full SHA for bf80c07
frontend/mock-flask-api/app.py
@@ -162,7 +162,7 @@ def agent_retriever():
162
raise ValidationError("conversation_uuid must be a string.")
163
164
# 1. Handle Conversation Creation if ID is missing
165
- if not conv_id:
+ if not conv_id or conv_id not in conversations_db:
166
conv_id = str(uuid.uuid4())
167
title = user_query[:100]
168
conversations_db[conv_id] = {
0 commit comments