Commit a225c36
committed
fix(sdk): include the recovered partial in the error event's newMessages
The error-path onTurnComplete added the partial to newUIMessages/uiMessages but
left newMessages (the model-message delta) empty, so apps persisting the model
delta missed the partial. Populate it from the same conversion.1 parent b6ea02f commit a225c36
2 files changed
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7960 | 7960 | | |
7961 | 7961 | | |
7962 | 7962 | | |
| 7963 | + | |
| 7964 | + | |
7963 | 7965 | | |
7964 | 7966 | | |
7965 | 7967 | | |
| |||
7978 | 7980 | | |
7979 | 7981 | | |
7980 | 7982 | | |
| 7983 | + | |
| 7984 | + | |
| 7985 | + | |
| 7986 | + | |
| 7987 | + | |
7981 | 7988 | | |
7982 | | - | |
7983 | | - | |
7984 | | - | |
| 7989 | + | |
7985 | 7990 | | |
7986 | 7991 | | |
7987 | 7992 | | |
| |||
8004 | 8009 | | |
8005 | 8010 | | |
8006 | 8011 | | |
8007 | | - | |
| 8012 | + | |
8008 | 8013 | | |
8009 | 8014 | | |
8010 | 8015 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
| |||
0 commit comments