Commit 8ba7572
add multipart to create_file (#2)
* Add string enumeration
* Fix string formating
* Update version number
* add multipart to create_file
* Add special handling for multipart form data in request body
* Update cargo lock
* Add multipart form
* Add error display implementation
* Add some multipart implementations
* Fix clippy and path to license
---------
Co-authored-by: Joao Rebelo <[email protected]>1 parent d05165f commit 8ba7572
File tree
10 files changed
+605
-71
lines changed- openai_client
- src
10 files changed
+605
-71
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
482 | 490 | | |
483 | 491 | | |
484 | 492 | | |
485 | | - | |
486 | 493 | | |
487 | 494 | | |
488 | 495 | | |
| |||
510 | 517 | | |
511 | 518 | | |
512 | 519 | | |
513 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
514 | 538 | | |
515 | | - | |
516 | 539 | | |
517 | 540 | | |
518 | 541 | | |
| |||
1139 | 1162 | | |
1140 | 1163 | | |
1141 | 1164 | | |
1142 | | - | |
| 1165 | + | |
1143 | 1166 | | |
1144 | 1167 | | |
1145 | 1168 | | |
| |||
1171 | 1194 | | |
1172 | 1195 | | |
1173 | 1196 | | |
1174 | | - | |
| 1197 | + | |
1175 | 1198 | | |
1176 | 1199 | | |
1177 | 1200 | | |
| |||
1234 | 1257 | | |
1235 | 1258 | | |
1236 | 1259 | | |
1237 | | - | |
1238 | | - | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1239 | 1275 | | |
1240 | | - | |
| 1276 | + | |
1241 | 1277 | | |
1242 | 1278 | | |
1243 | | - | |
| 1279 | + | |
| 1280 | + | |
1244 | 1281 | | |
1245 | 1282 | | |
1246 | | - | |
| 1283 | + | |
1247 | 1284 | | |
1248 | 1285 | | |
| 1286 | + | |
| 1287 | + | |
1249 | 1288 | | |
1250 | 1289 | | |
1251 | 1290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41804 | 41804 | | |
41805 | 41805 | | |
41806 | 41806 | | |
41807 | | - | |
| 41807 | + | |
41808 | 41808 | | |
41809 | 41809 | | |
41810 | 41810 | | |
| |||
41891 | 41891 | | |
41892 | 41892 | | |
41893 | 41893 | | |
41894 | | - | |
| 41894 | + | |
41895 | 41895 | | |
41896 | 41896 | | |
41897 | 41897 | | |
| |||
43903 | 43903 | | |
43904 | 43904 | | |
43905 | 43905 | | |
43906 | | - | |
| 43906 | + | |
43907 | 43907 | | |
43908 | 43908 | | |
43909 | 43909 | | |
| |||
44187 | 44187 | | |
44188 | 44188 | | |
44189 | 44189 | | |
44190 | | - | |
| 44190 | + | |
44191 | 44191 | | |
44192 | 44192 | | |
44193 | 44193 | | |
| |||
44407 | 44407 | | |
44408 | 44408 | | |
44409 | 44409 | | |
44410 | | - | |
| 44410 | + | |
44411 | 44411 | | |
44412 | 44412 | | |
44413 | 44413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
| 1190 | + | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| |||
1594 | 1594 | | |
1595 | 1595 | | |
1596 | 1596 | | |
1597 | | - | |
| 1597 | + | |
1598 | 1598 | | |
1599 | 1599 | | |
1600 | 1600 | | |
| |||
1638 | 1638 | | |
1639 | 1639 | | |
1640 | 1640 | | |
1641 | | - | |
| 1641 | + | |
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
| |||
3912 | 3912 | | |
3913 | 3913 | | |
3914 | 3914 | | |
3915 | | - | |
| 3915 | + | |
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
45 | 72 | | |
46 | 73 | | |
47 | 74 | | |
| |||
0 commit comments