Commit 847a06a
authored
* fix: Use "cmpl-" prefix for /completions response IDs (#270)
Signed-off-by: RohanDSkaria <[email protected]>
* fix: standardize completion response ID prefixing\n\n- move chat/text prefixing into CreateChatCompletionResponse and CreateTextCompletionResponse (and chat chunk) so callers only pass request IDs\n- drop id arg from CreateBaseCompletionResponse\n
Signed-off-by: RohanDSkaria <[email protected]>
---------
Signed-off-by: RohanDSkaria <[email protected]>
1 parent 943f9bc commit 847a06a
File tree
3 files changed
+14
-7
lines changed- pkg
- llm-d-inference-sim
- openai-server-api
3 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
583 | 582 | | |
584 | 583 | | |
585 | 584 | | |
586 | | - | |
| 585 | + | |
587 | 586 | | |
588 | 587 | | |
589 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
310 | | - | |
311 | | - | |
| 315 | + | |
| 316 | + | |
312 | 317 | | |
313 | 318 | | |
314 | 319 | | |
| |||
317 | 322 | | |
318 | 323 | | |
319 | 324 | | |
| 325 | + | |
320 | 326 | | |
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
| 335 | + | |
328 | 336 | | |
329 | 337 | | |
0 commit comments