Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -1277,7 +1277,7 @@ async def chat_with_ai(input_data: ChatInput):
|
|
| 1277 |
if not full_steps:
|
| 1278 |
sec = (top_meta or {}).get("section")
|
| 1279 |
if sec:
|
| 1280 |
-
|
| 1281 |
|
| 1282 |
if full_steps:
|
| 1283 |
# Always add Save lines if present anywhere in the doc (independent of query wording)
|
|
|
|
| 1277 |
if not full_steps:
|
| 1278 |
sec = (top_meta or {}).get("section")
|
| 1279 |
if sec:
|
| 1280 |
+
full_steps = get_section_text(best_doc, sec)
|
| 1281 |
|
| 1282 |
if full_steps:
|
| 1283 |
# Always add Save lines if present anywhere in the doc (independent of query wording)
|