Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR refines instructional prompts for the AI teacher across the lesson interaction pipeline. The opening greeting when a learner joins is updated to emphasize warm, human-focused English greetings and single target-language repetition. The dynamic starter lesson template and six language-specific starter lessons are updated to a consistent "Warm " format that restricts vocabulary, prioritizes English explanation with slow delivery, and requests one learner repeat or try-again. ChangesAI Teacher Greeting and Lesson Prompts
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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.
Inline comments:
In `@data/lessons.ts`:
- Around line 98-100: The aiTeacherPrompt currently interpolates all
seed.vocabulary terms, which can exceed the intended "first two terms + phrase"
contract; update the interpolation for aiTeacherPrompt to use only the first two
vocabulary items (e.g., use seed.vocabulary.slice(0, 2).map(...).join(", ")) and
combine that with seed.phrase.phrase and seed.languageId so the prompt always
contains exactly the first two terms (or fewer if the array has less than two
items) plus the phrase.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 70bed925-0827-4e6e-940e-dd8860b7af92
📒 Files selected for processing (2)
data/lessons.tsvision-agent/agent.py
Summary by CodeRabbit