legco_ai_assistant/frontend/src
Woody a7a22f1494 fix(relevance): tolerate LLM score count mismatches via padding instead of discarding
The per-sub-question filter was all-or-nothing: if the LLM returned
9 scores for 10 chunks (common with qwen3.5-35b), every chunk was
discarded and the user got 'no relevant information found'.

Now: fewer scores → pad with 0.0; more scores → truncate. Changed
from error→warning since this is recoverable.

Also improve LTT page UI: sources collapsed by default in per-sub-q
sections, and the 'Your question' text now shows the full question
instead of being truncated.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-27 14:31:18 +08:00
..
components fix(relevance): tolerate LLM score count mismatches via padding instead of discarding 2026-04-27 14:31:18 +08:00
lib feat(frontend): add per-sub-question types and stream state management 2026-04-26 23:29:38 +08:00
pages feat(frontend): redesign ResponsePanel for per-sub-question sections with grouped sources 2026-04-26 23:29:51 +08:00
test fix(relevance): tolerate LLM score count mismatches via padding instead of discarding 2026-04-27 14:31:18 +08:00
types feat(frontend): add per-sub-question types and stream state management 2026-04-26 23:29:38 +08:00
utils feat(frontend): redesign ResponsePanel for per-sub-question sections with grouped sources 2026-04-26 23:29:51 +08:00
App.tsx feat(frontend): Phase 3.6 — History page with timing bars, expandable cards, and pagination 2026-04-26 13:19:52 +08:00
main.tsx feat(frontend): Phase 1.1 grid layout with Phase 2 pre-allocation and tests 2026-04-23 10:58:03 +08:00
styles.css feat(frontend): Phase 1.1 project scaffold with Vite, Tailwind, and API client 2026-04-23 10:57:20 +08:00