fix: update prompt handling in completions to remove unnecessary whitespace#13
Conversation
WalkthroughThe prompt handling in the text-prediction flow was modified to send the exact current textContent as the prompt instead of defaulting to a single space when textContent is empty. This changes the initial input sent to the model for text completion and alters stream behavior for empty inputs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Comment |
Summary by CodeRabbit
Release Notes