Skip to content

Commit 85febb0

Browse files
Merge pull request #133 from corbitsdev/cl-12069-builder-accept-image-and-document-attachments-for-openai-api
fix(hub): accept image and document uploads for openai api models
2 parents 4027e14 + 0470f93 commit 85febb0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎apps/hub/src/config/models.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ export const MODEL_PROVIDERS: readonly ShippedEntry[] = [
7474
// All four take reasoning effort max (developers.openai.com/api/docs/models); unset, the
7575
// adapter sends high for it.
7676
quirks: { reasoning: { maxEffort: "max" } },
77+
// All four read images, PDFs and text documents (checked live against the API).
78+
capabilities: [
79+
"vision-input",
80+
"vision-input-streaming",
81+
"document-input",
82+
"document-input-streaming",
83+
],
7784
},
7885
{
7986
id: "anthropic",

0 commit comments

Comments
 (0)