docs: fix typo in thought prompt - #232
Conversation
|
@scosemicolon is attempting to deploy a commit to the Plastic Labs Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughCorrects a spelling error ("seperate" → "separate") in the embedded assistant prompt text within the ChangesPrompt text corrections
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
utils/prompts/thought.ts (1)
36-36:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winIncomplete typo fix - same misspelling exists in two other locations.
The spelling correction applied to line 44 ("seperate" → "separate") should also be applied to lines 36 and 76, which contain the same misspelling. Currently:
- Line 36: "Seperate with just '␁'" (capitalized but still misspelled)
- Line 76: "I'll seperate with just '␁'" (lowercase, still misspelled)
This inconsistency reduces the polish of the prompt text.
✏️ Proposed fix to correct remaining instances
- Finally, your output should start with your internal thinking process. Then, use '␁' as a delimiter, followed by your Honcho query. If a PDF is available, use another '␁' as a delimiter, followed by your PDF Agent query. If there is no PDF available, don't delimit the 3rd section. Seperate with just '␁', not a new line/space. It's critical you uncover things Tutor doesn't yet know about both the user and any documents they're working with.`, + Finally, your output should start with your internal thinking process. Then, use '␁' as a delimiter, followed by your Honcho query. If a PDF is available, use another '␁' as a delimiter, followed by your PDF Agent query. If there is no PDF available, don't delimit the 3rd section. Separate with just '␁', not a new line/space. It's critical you uncover things Tutor doesn't yet know about both the user and any documents they're working with.`,- I will then output my internal thinking process. This will be followed by '␁' and my Honcho query. If a PDF is available, I will then add another '␁' and my PDF Agent query. If there is no PDF available, I won't delimit the 3rd section. I'll seperate with just '␁', not a new line/space. I won't attempt to answer my own questions. + I will then output my internal thinking process. This will be followed by '␁' and my Honcho query. If a PDF is available, I will then add another '␁' and my PDF Agent query. If there is no PDF available, I won't delimit the 3rd section. I'll separate with just '␁', not a new line/space. I won't attempt to answer my own questions.Also applies to: 76-76
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@utils/prompts/thought.ts` at line 36, Update the misspelling "seperate" to "separate" in utils/prompts/thought.ts for all occurrences (the sentence starting "Seperate with just '␁'", the earlier instruction sentence ending with "Seperate with just '␁'", and the later phrase "I'll seperate with just '␁'"); search for the token "seperate" and replace each instance with "separate" so the prompt text is consistently spelled everywhere (verify capitalization is preserved where needed).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@utils/prompts/thought.ts`:
- Line 36: Update the misspelling "seperate" to "separate" in
utils/prompts/thought.ts for all occurrences (the sentence starting "Seperate
with just '␁'", the earlier instruction sentence ending with "Seperate with just
'␁'", and the later phrase "I'll seperate with just '␁'"); search for the token
"seperate" and replace each instance with "separate" so the prompt text is
consistently spelled everywhere (verify capitalization is preserved where
needed).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9bfe8f2a-63c2-4306-8300-7796fa774f0c
📒 Files selected for processing (1)
utils/prompts/thought.ts
Corrects one typo in the thought prompt text. No prompt structure or runtime behavior changes intended.
Summary by CodeRabbit