diff --git a/.changeset/great-icons-admire.md b/.changeset/great-icons-admire.md new file mode 100644 index 00000000..d0163ba3 --- /dev/null +++ b/.changeset/great-icons-admire.md @@ -0,0 +1,5 @@ +--- +"syncia": patch +--- + +Marks GPT-4o model as vision model diff --git a/src/components/Sidebar/chat/index.tsx b/src/components/Sidebar/chat/index.tsx index 7d7fe3f7..5200a09f 100644 --- a/src/components/Sidebar/chat/index.tsx +++ b/src/components/Sidebar/chat/index.tsx @@ -57,7 +57,7 @@ const Chat = ({ settings }: ChatProps) => { clearMessages={clearMessages} cancelRequest={cancelRequest} isWebpageContextOn={settings.general.webpageContext} - isVisionModel={settings.chat.model === AvailableModels.GPT_4_TURBO} + isVisionModel={settings.chat.model === AvailableModels.GPT_4_TURBO || settings.chat.model === AvailableModels.GPT_4O} /> ) diff --git a/src/config/settings/index.ts b/src/config/settings/index.ts index 528e0303..2b566502 100644 --- a/src/config/settings/index.ts +++ b/src/config/settings/index.ts @@ -7,6 +7,7 @@ export enum ThemeOptions { } export enum AvailableModels { + GPT_4O = 'gpt-4o', GPT_4_TURBO = 'gpt-4-turbo', GPT_4 = 'gpt-4', GPT_4o = 'gpt-4o',