feat: dynamic artist name extraction from Slack prompts#382
feat: dynamic artist name extraction from Slack prompts#382recoup-coding-agent wants to merge 1 commit intotestfrom
Conversation
When a user mentions an artist name in their Slack message (e.g. "generate a video for Mac Miller"), the content agent now extracts that name via AI, looks up the matching artist in the account's roster, and uses them for content creation. Falls back to Gatsby Grace when no artist name is provided or no match is found. - Add artistName field to contentPromptFlagsSchema for AI extraction - Add resolveArtistFromName() to match artist name against account roster - Update registerOnNewMention to use dynamic artist lookup with fallback - 12 new tests covering artist name extraction and resolution Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
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 16 minutes and 19 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (3)
✨ 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.
|
Summary
getAccountArtistIdswith case-insensitive + partial matchingartistNameoptional field tocontentPromptFlagsSchemaresolveArtistFromName()function for name → artist_id resolutionTest plan
resolveArtistFromName(exact match, partial match, no match, empty name, empty roster)parseContentPromptartistName extractionregisterOnNewMention(dynamic artist, fallback on no name, fallback on no match)🤖 Generated with Claude Code