You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Missing documentation for modalities property in custom provider configuration #9897
Pulled the code to have opencode help me get images working with my "OpenAI Compatible" models endpoint I'm forced into using from my IT department. Great and terrible. Got it working, I will submit a doc PR for the missing information outlined here.
Issue Type
Documentation
Description
The modalities property for enabling vision/multimodal support in custom OpenAI-compatible providers is not documented, making it difficult for users to configure image input support for their models.
Problem
When configuring a custom provider using @ai-sdk/openai-compatible, users cannot find documentation on how to enable vision/image input support. The configuration property exists and works, but is not mentioned in:
Custom provider docs incorrect #5937: Custom provider docs incorrect - mentions that custom provider documentation contains inaccuracies and outdated information
While #8875 is about adding the feature as a request, your issue correctly identifies that the modalities property already exists and works but is simply undocumented. This is complementary to #8875's feature request and highlights the documentation gap that's causing confusion.
Feel free to cross-reference these issues in your documentation PR!
Activity
github-actions commentedon Jan 21, 2026
This issue might be a duplicate of existing issues. Please check:
While #8875 is about adding the feature as a request, your issue correctly identifies that the
modalitiesproperty already exists and works but is simply undocumented. This is complementary to #8875's feature request and highlights the documentation gap that's causing confusion.Feel free to cross-reference these issues in your documentation PR!
github-actions commentedon Mar 28, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
schoenid commentedon Jun 5, 2026
@slycrel Thank you!
That's exactly what happened to me.
kienmarkdo commentedon Oct 14, 2026
Seems like this case and #12034 are still unresolved.