Bug: Processing step slider ignored — Analyze always runs full Answer pipeline
Symptom: User selects Chunk or Map on the Processing Steps slider and clicks Analyze, but the app still runs question answering (LLM chat). Chunk-only runs can fail with chat model errors (e.g. Unknown model 'gpt-5.4-mini') even though answer LLM should not run.
Chunks only are not shown
Expected: Slider limits how far the pipeline goes — Chunk (split only), Embed (+ embeddings), Map (+ similarity/scoring), Answer (full LLM analysis). Chunk/Embed should work without selected questions. Chunks are always shown and loaded.
Root cause: processing_steps_slider in Streamlit was UI-only. run_analysis() / process_document() had no step limit — every Analyze always iterated questions and called _analyze_chunks → llm.achat.
Fix: Pass max_processing_step from slider into process_document(); stop after chunk/embed/map; allow Chunk/Embed with no questions; add tests in tests/test_processing_steps.py.
Bug: Processing step slider ignored — Analyze always runs full Answer pipeline
Symptom: User selects Chunk or Map on the Processing Steps slider and clicks Analyze, but the app still runs question answering (LLM chat). Chunk-only runs can fail with chat model errors (e.g.
Unknown model 'gpt-5.4-mini') even though answer LLM should not run.Chunks only are not shown
Expected: Slider limits how far the pipeline goes — Chunk (split only), Embed (+ embeddings), Map (+ similarity/scoring), Answer (full LLM analysis). Chunk/Embed should work without selected questions. Chunks are always shown and loaded.
Root cause:
processing_steps_sliderin Streamlit was UI-only.run_analysis()/process_document()had no step limit — every Analyze always iterated questions and called_analyze_chunks→llm.achat.Fix: Pass
max_processing_stepfrom slider intoprocess_document(); stop after chunk/embed/map; allow Chunk/Embed with no questions; add tests intests/test_processing_steps.py.