Commit 0317206
committed
fix(provider): enable image support for custom OpenAI-compatible providers
Custom OpenAI-compatible providers (Ollama, longent, etc.) were unable to
process image attachments because capabilities.input.image defaulted to false.
Now defaults to true for @ai-sdk/openai-compatible providers.
Closes #208021 parent f3d5a71 commit 0317206
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
1167 | 1170 | | |
1168 | 1171 | | |
1169 | 1172 | | |
| |||
0 commit comments