From 0470f935e6407d47f3c1b1d440d0223b92b1ad54 Mon Sep 17 00:00:00 2001 From: Sawyer Date: Tue, 3 Nov 2026 21:30:33 -0800 Subject: [PATCH] fix(hub): accept image and document uploads for openai api models --- apps/hub/src/config/models.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/hub/src/config/models.ts b/apps/hub/src/config/models.ts index 1a4ee100..e48ab7c8 100644 --- a/apps/hub/src/config/models.ts +++ b/apps/hub/src/config/models.ts @@ -74,6 +74,13 @@ export const MODEL_PROVIDERS: readonly ShippedEntry[] = [ // All four take reasoning effort max (developers.openai.com/api/docs/models); unset, the // adapter sends high for it. quirks: { reasoning: { maxEffort: "max" } }, + // All four read images, PDFs and text documents (checked live against the API). + capabilities: [ + "vision-input", + "vision-input-streaming", + "document-input", + "document-input-streaming", + ], }, { id: "anthropic",