Conversation
- Add Anthropic client singleton with model and token limit constants - Add SonaUserContext builder reading from DB cache (no live API calls) - Add prompt templates for insight, profile, and chat with Sona voice guidelines - Add /api/ai/insights route with 24-hour DB cache - Add /api/ai/profile route with 7-day DB cache - Add /api/ai/chat route with SSE streaming and multi-turn history - Add useAiInsights and useAiProfile TanStack Query hooks - Add InsightCard component with loading skeleton - Add SonaProfileCard component with loading skeleton - Add Ask Sona chat page with real-time streaming and suggested prompts - Wire InsightCard and SonaProfileCard into profile page - Add Ask Sona nav link from profile to chat
- Wrap contextStr in <listening_data> delimiters to prevent prompt injection - Add isStreamingRef guard to prevent overlapping stream requests in chat - Fix SSE frame boundary parsing with proper buffer accumulation - Add defensive validation and history cap (12 turns, 4k chars) to chat route - Relax insight/profile empty check to allow partially warmed cache context - Add server-only guard to Anthropic client - Cap genreBreakdown to 8 entries in formatContextForPrompt - Add Ask Sona mobile nav link visible below sm breakpoint - Correct chat route comment to reflect context-dump implementation not agentic tool use - Gate useGenreBreakdown on useTopArtists success to prevent race condition
- Note chat as context-dump + SSE streaming, not agentic tool use - Add agentic tool use to non-goals and post-v1 roadmap - Update architecture summary to remove tool use from Claude description - Mark /chat as public route accessible to guests - Update Sprint 3 feature descriptions to match actual implementation - Update open questions to reflect deferred agentic tool use decision
feat(ai): add AI layer with insights and profile
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 50 minutes and 37 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (13)
✨ Finishing Touches🧪 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
No description provided.