Force deploy wizard reset fix v2.0 - 1764909574
Browse files
backend/hue_portal/chatbot/chatbot.py
CHANGED
|
@@ -183,7 +183,7 @@ class Chatbot(CoreChatbot):
|
|
| 183 |
and not has_doc_code_in_query
|
| 184 |
and wizard_stage == "answer"
|
| 185 |
)
|
| 186 |
-
print(f"[WIZARD] Reset check - intent={intent}, has_doc_code={has_doc_code_in_query}, wizard_stage={wizard_stage}, should_reset={should_reset}")
|
| 187 |
|
| 188 |
if should_reset:
|
| 189 |
print("[WIZARD] 🔄 New query detected, resetting wizard state for fresh start")
|
|
|
|
| 183 |
and not has_doc_code_in_query
|
| 184 |
and wizard_stage == "answer"
|
| 185 |
)
|
| 186 |
+
print(f"[WIZARD] Reset check - intent={intent}, has_doc_code={has_doc_code_in_query}, wizard_stage={wizard_stage}, should_reset={should_reset}") # v2.0-fix
|
| 187 |
|
| 188 |
if should_reset:
|
| 189 |
print("[WIZARD] 🔄 New query detected, resetting wizard state for fresh start")
|