srilakshu012456 commited on
Commit
d173a98
·
verified ·
1 Parent(s): 22ff6d0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- 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)
 
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)