Commit 00e78ba
Remove hardcoded model support checks for OpenAI
OpenAI has started changing the support of features between model releases,
without making announcements. It is not feasible for us to keep updating the
list of which model supports what, and the end-user benefit is rather limited
in the first place. Thus, we now rely on just forwarding the server errors,
the same as we've always done for Azure and Ollama.1 parent e978dc5 commit 00e78ba
File tree
4 files changed
+1
-45
lines changed- +llms/+utils
- tests
4 files changed
+1
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | | - | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 138 | | |
142 | | - | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
| |||
239 | 235 | | |
240 | 236 | | |
241 | 237 | | |
242 | | - | |
243 | 238 | | |
244 | 239 | | |
245 | 240 | | |
246 | 241 | | |
247 | | - | |
248 | | - | |
249 | 242 | | |
250 | 243 | | |
251 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 199 | | |
206 | 200 | | |
207 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 80 | | |
91 | 81 | | |
92 | 82 | | |
| |||
101 | 91 | | |
102 | 92 | | |
103 | 93 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 94 | | |
112 | 95 | | |
113 | 96 | | |
| |||
410 | 393 | | |
411 | 394 | | |
412 | 395 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | 396 | | |
422 | 397 | | |
423 | 398 | | |
| |||
548 | 523 | | |
549 | 524 | | |
550 | 525 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
| 526 | + | |
555 | 527 | | |
556 | 528 | | |
557 | 529 | | |
| |||
0 commit comments