Commit a0f4721
committed
Simplify message mounting flow and remove pending queue
Pass the optional welcome message directly to the container, drop the unused `init_messages` parameter and pending‑mount list, and replace the `enqueue_mount_messages` pattern with immediate scheduling of `mount_messages`. Adjust `append_stream_message_content` to collect new messages and invoke mounting in one step.1 parent 93a8d3c commit a0f4721
2 files changed
Lines changed: 9 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
| 268 | + | |
270 | 269 | | |
271 | 270 | | |
272 | 271 | | |
| |||
Lines changed: 4 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
| |||
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 66 | | |
82 | | - | |
| 67 | + | |
83 | 68 | | |
84 | 69 | | |
85 | 70 | | |
| |||
93 | 78 | | |
94 | 79 | | |
95 | 80 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 81 | + | |
99 | 82 | | |
100 | 83 | | |
101 | 84 | | |
| |||
118 | 101 | | |
119 | 102 | | |
120 | 103 | | |
121 | | - | |
| 104 | + | |
122 | 105 | | |
123 | 106 | | |
124 | 107 | | |
| |||
129 | 112 | | |
130 | 113 | | |
131 | 114 | | |
132 | | - | |
| 115 | + | |
133 | 116 | | |
134 | 117 | | |
135 | 118 | | |
| |||
147 | 130 | | |
148 | 131 | | |
149 | 132 | | |
150 | | - | |
151 | | - | |
152 | 133 | | |
153 | 134 | | |
154 | 135 | | |
| |||
0 commit comments