fix: prompt component display names and code of starter templates#11466
Conversation
…e starter projects
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
WalkthroughThis PR renames the "Prompt" component to "Prompt Template" across 19 starter project JSON files by updating Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (6 passed)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (41.73%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #11466 +/- ##
=======================================
Coverage 34.92% 34.92%
=======================================
Files 1420 1420
Lines 68266 68266
Branches 9991 9991
=======================================
+ Hits 23842 23844 +2
+ Misses 43190 43188 -2
Partials 1234 1234
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
For posterity: Checked with Viktor to verify if there are any templates not covered that need this change as well. Changes looks good otherwise. |
Jira LE-159
This pull request updates the templates starter project to consistently use the name "Prompt Template" instead of "Prompt" for relevant components. It also updates the underlying code for the
PromptComponentto reflect this naming and removes the unused "mode" input field, streamlining the configuration and improving clarity.Component naming and configuration updates:
display_nameandnamefrom "Prompt" to "Prompt Template" for prompt-related components in the starter project configuration. [1] [2] [3] [4]Component code and field updates:
PromptComponentto use "Prompt Template" as itsdisplay_nameandname, and removed the "mode" input field, relying instead on theuse_double_bracketsboolean for template syntax selection.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.