mirror of
https://github.com/langgenius/dify.git
synced 2026-03-14 03:18:36 +08:00
- Add 42 tests covering all component functionality - Test semantic search mode: rerank toggle, model selection, top_k, score threshold - Test full text search mode: conditional score threshold visibility - Test keyword search mode (economical): simplified UI without rerank - Test hybrid search mode: reranking mode selection, weighted score, model selector - Test user interactions: toggle callbacks, model selection, parameter changes - Test multimodal tip display conditions - Test default weights initialization - Achieve 100% statement, 96% branch, 100% function, 100% line coverage Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>