PageIndex/pageindex
luojiyin ac9ceaf2ee
fix: prevent infinite loop in extract_toc_content
The while loop exit condition used len(chat_history), but chat_history
was rebuilt every iteration with exactly 2 elements, making the check
len(chat_history) > 5 never true.

Replace with explicit attempt counter and max_attempts limit.
2026-01-19 12:34:39 +08:00
..
__init__.py add markdown runner 2025-08-26 21:27:40 +08:00
config.yaml by default add node summary 2025-09-01 14:06:57 +08:00
page_index.py fix: prevent infinite loop in extract_toc_content 2026-01-19 12:34:39 +08:00
page_index_md.py firx print_toc 2025-08-31 11:51:50 +01:00
utils.py firx print_toc 2025-08-31 11:52:59 +01:00