Spaces:
Paused
Paused
Update app_web.py
Browse files- app_web.py +1 -1
app_web.py
CHANGED
|
@@ -246,7 +246,7 @@ def render_chat():
|
|
| 246 |
Please let me know if there's anything else I can assist you with today.")
|
| 247 |
return
|
| 248 |
|
| 249 |
-
if qcat_result.get("category") == "stata" and
|
| 250 |
# Ask clarification — store original query and question for context
|
| 251 |
st.session_state.unresolved_category = original_query_cat
|
| 252 |
|
|
|
|
| 246 |
Please let me know if there's anything else I can assist you with today.")
|
| 247 |
return
|
| 248 |
|
| 249 |
+
if qcat_result.get("category") == "stata" and "unresolved" in qcat_result.get("sub-action") and st.session_state.stata_options is None:
|
| 250 |
# Ask clarification — store original query and question for context
|
| 251 |
st.session_state.unresolved_category = original_query_cat
|
| 252 |
|