From d268625ad47ab6da726aa9d0bb44786765abcf50 Mon Sep 17 00:00:00 2001 From: xavidop Date: Thu, 12 Sep 2024 12:23:21 +0200 Subject: [PATCH] feat: support for input image --- README.md | 4 ++-- src/github_llms.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d3f23d8..e480159 100644 --- a/README.md +++ b/README.md @@ -139,10 +139,10 @@ For more detailed examples and the explanation of other functionalities, refer t ## Supported models -This plugin supports all currently available **Chat/Completion** and **Embeddings** models from Github Models. +This plugin supports all currently available **Chat/Completion** and **Embeddings** models from Github Models. This plugin supports image input and multimodal models. Still in progress: -1. Support for image input/output models +1. Support for image output models ## API Reference diff --git a/src/github_llms.ts b/src/github_llms.ts index 4fa8965..ba46171 100644 --- a/src/github_llms.ts +++ b/src/github_llms.ts @@ -53,7 +53,7 @@ export const openAIGpt4o = modelRef({ supports: { multiturn: true, tools: true, - media: false, + media: true, systemRole: true, output: ["text", "json"], }, @@ -69,7 +69,7 @@ export const openAIGpt4oMini = modelRef({ supports: { multiturn: true, tools: true, - media: false, + media: true, systemRole: true, output: ["text", "json"], },