Commit 1df8310
authored
fix(agent-builder): don't clobber unsent composer text on prefill
A seeded prompt now only populates the composer when it's empty; if the
user has already typed an unsent message, it's preserved (the composer is
still focused). Keeps the prefill genuinely non-destructive.
Addresses Greptile review feedback.
Generated-By: PostHog Code
Task-Id: fc2c5587-1464-4cb1-9116-0e7a34f707341 parent aa4d5e8 commit 1df8310
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments