Commit c7d781a
Fix streaming test to handle /completion response format
The /completion endpoint returns chunks with 'content' directly,
not wrapped in 'choices' array like chat completions endpoint.
Co-Authored-By: Alex Peng <[email protected]>1 parent 8cd247f commit c7d781a
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 184 | + | |
| 185 | + | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
| |||
0 commit comments