Update conversation_logic.py
Browse files- conversation_logic.py +9 -1
conversation_logic.py
CHANGED
|
@@ -935,12 +935,20 @@ class ConversationEngine:
|
|
| 935 |
result.domain = "quant"
|
| 936 |
|
| 937 |
# ✅ IMPORTANT: use solver formatter (NOT explainer)
|
| 938 |
-
reply =
|
| 939 |
result=result,
|
| 940 |
intent=resolved_intent,
|
| 941 |
verbosity=verbosity,
|
| 942 |
category=inferred_category,
|
| 943 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 944 |
|
| 945 |
allow_retrieval = should_retrieve(
|
| 946 |
intent=resolved_intent,
|
|
|
|
| 935 |
result.domain = "quant"
|
| 936 |
|
| 937 |
# ✅ IMPORTANT: use solver formatter (NOT explainer)
|
| 938 |
+
reply = _compose_reply(
|
| 939 |
result=result,
|
| 940 |
intent=resolved_intent,
|
| 941 |
verbosity=verbosity,
|
| 942 |
category=inferred_category,
|
| 943 |
)
|
| 944 |
+
|
| 945 |
+
reply = format_reply(
|
| 946 |
+
reply,
|
| 947 |
+
tone,
|
| 948 |
+
verbosity,
|
| 949 |
+
transparency,
|
| 950 |
+
resolved_help_mode,
|
| 951 |
+
)
|
| 952 |
|
| 953 |
allow_retrieval = should_retrieve(
|
| 954 |
intent=resolved_intent,
|