-
Notifications
You must be signed in to change notification settings - Fork 51
feat: Ask Summarization #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Previously, editing the cutoff message (the last message included in the summary) would not invalidate the summary since the message was modified in place rather than deleted. This caused stale summaries where the AI context didn't match the actual conversation. Now checkAndInvalidateSummary also checks if the edited message is the cutoff, properly invalidating the summary when needed.
- AllFilesDialog: refactor state reset from useEffect to event handler to avoid cascading renders (react-hooks/set-state-in-effect) - AllFilesDialog: remove unused useMemo import - ComputerSidebar: add eslint-disable with explanation for intentional dependency omission - chat: add eslint-disable with explanation for stable ref dependencies
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThe pull request centralizes dialog cleanup logic in AllFilesDialog, updates message invalidation to include edited messages during summarization checks, and introduces mode-aware summarization that routes to different system prompts based on chat mode (agent vs. ask). Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
🧰 Additional context used📓 Path-based instructions (1)convex/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.cursor/rules/convex_rules.mdc)
Files:
🧠 Learnings (1)📚 Learning: 2025-08-18T20:33:42.057ZApplied to files:
🔇 Additional comments (8)
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 |
|
Looks good |
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.