Commit 32d46a0
docs(sdk): clarify regeneration removes old answer only with regenerate()
Document that useChat's regenerate() removes the last assistant message
before streaming, while sendMessage with a regenerate action appends
without removal, leaving both answers visible.
Co-authored-by: Eric Allam <ericallam@users.noreply.github.com>1 parent f02d837 commit 32d46a0
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
| |||
0 commit comments