✨ feat(web): improve deep research report rendering#22
Conversation
- Render [证据:强/中/弱] as styled color-coded badges via token pre-processing - Add Mermaid diagram support in document viewer - Hide "all sources" section when citation table is present - Adjust evidence badge sizing for better readability Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds LiteLLM support, a cross-encoder reranker, embedding caching, enhanced RAG ingestion/retrieval (OCR, metadata, semantic chunking), clarifying-question flow for deep research, streaming speed metrics, UI/config expansions, and related schema/migration updates. Changes
Sequence Diagram(s)sequenceDiagram
participant User as User
participant Frontend as Frontend (Web)
participant Backend as Backend API
participant LLM as LLM Provider
User->>Frontend: Request deep research
Frontend->>Backend: POST /ai/deep-research/clarify
Backend->>LLM: Generate clarifying questions
LLM-->>Backend: Clarifying questions
Backend-->>Frontend: ClarifyResponse
Frontend->>User: Render ClarifyingPanel
User->>Frontend: Submit answers
Frontend->>Backend: POST /ai/deep-research (with clarification_context)
Backend->>Backend: _plan(..., clarification_context)
Backend->>LLM: Generate research plan (with clarified prefs)
LLM-->>Backend: Research plan
Backend-->>Frontend: Research started / progress
Estimated Code Review Effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
Made-with: Cursor
Made-with: Cursor
Summary
Type of change
Related issue
Closes #
Changes
How to test
Screenshots (if applicable)
Checklist
./lyra lintand there are no type errorsfeat:,fix:, etc.)Summary by CodeRabbit
New Features
Bug Fixes