Commit 80e7e7a
committed
Fix Live lifecycle bugs in query.py streaming
- Drop eager Live restart after a tool call, mirroring the lazy pattern
used in chat.py (commit 8708fc4 applied the fix only to chat.py)
- Start Live inside the try block so a synchronous raise cannot leak it1 parent dab7379 commit 80e7e7a
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
169 | | - | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
0 commit comments