Upload folder using huggingface_hub
Browse files- __pycache__/app.cpython-312.pyc +2 -2
- app.py +11 -7
__pycache__/app.cpython-312.pyc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c468a2bd3db88212cf34d715ef43c9e58d24bcfb0c270124b92dcbc64a897bf
|
| 3 |
+
size 133283
|
app.py
CHANGED
|
@@ -2429,15 +2429,19 @@ def format_results(results: Dict[str, Any]) -> str:
|
|
| 2429 |
output.append(f" - {reason}")
|
| 2430 |
output.append("")
|
| 2431 |
|
| 2432 |
-
# Agent Execution Path (LangGraph style)
|
| 2433 |
-
output.append("### π LangGraph Execution Path")
|
| 2434 |
-
output.append("```
|
| 2435 |
-
output.append("graph LR")
|
| 2436 |
for i, step in enumerate(results["execution_path"]):
|
| 2437 |
-
|
| 2438 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2439 |
output.append("```")
|
| 2440 |
-
output.append(f"**Routing Decision:** `{results.get('routing_decision', 'parallel_analysis')}`\n")
|
| 2441 |
|
| 2442 |
# Executive Summary (from ExplanationAgent)
|
| 2443 |
if results.get("explanation", {}).get("executive_summary"):
|
|
|
|
| 2429 |
output.append(f" - {reason}")
|
| 2430 |
output.append("")
|
| 2431 |
|
| 2432 |
+
# Agent Execution Path (LangGraph style) - Text format for compatibility
|
| 2433 |
+
output.append("### π LangGraph Execution Path\n")
|
| 2434 |
+
output.append("```")
|
|
|
|
| 2435 |
for i, step in enumerate(results["execution_path"]):
|
| 2436 |
+
prefix = " " * (1 if "->" in step or "β" in step else 0)
|
| 2437 |
+
# Clean step for display
|
| 2438 |
+
clean_step = step.replace("β", "->")
|
| 2439 |
+
if i == 0:
|
| 2440 |
+
output.append(f"[1] {clean_step}")
|
| 2441 |
+
else:
|
| 2442 |
+
output.append(f"[{i+1}] {clean_step}")
|
| 2443 |
output.append("```")
|
| 2444 |
+
output.append(f"\n**Routing Decision:** `{results.get('routing_decision', 'parallel_analysis')}`\n")
|
| 2445 |
|
| 2446 |
# Executive Summary (from ExplanationAgent)
|
| 2447 |
if results.get("explanation", {}).get("executive_summary"):
|