fix: use toolset key for PTC eligibility checks#2268
Conversation
- Use each toolset's nested key when building the PTC evaluation list instead of relying on id only. - Add safe fallback handling for missing toolset fields to prevent incorrect blacklist matching.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis change modifies toolset key extraction logic in the skill invoker service. Previously, the code directly accessed Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Deploying refly-branch-test with
|
| Latest commit: |
54c5b1c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6dfc88c8.refly-branch-test.pages.dev |
| Branch Preview URL: | https://ptc-toolset-video-pr.refly-branch-test.pages.dev |
|
/cr 修复 PTC toolset 黑名单判断 |
|
✅ CR summary sent to Slack channel #code-reviews. |
Summary
This PR fixes PTC eligibility checks to use the actual toolset key instead of only relying on toolset IDs.
Changes
SkillInvokerServiceto readtoolset.keyfirstSummary by CodeRabbit