From 54d6beaaec7144e0e34a67ac0967a1c0f8c31ea3 Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Tue, 5 Nov 2024 19:18:00 +0800 Subject: [PATCH] hotfix haiku not support vision --- app/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils.ts b/app/utils.ts index 2e1f94016..678b975ed 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -256,7 +256,8 @@ export function isVisionModel(model: string) { const visionKeywords = [ "vision", - "claude-3", + "-sonnet-", + "-opus-", "gemini-1.5-pro", "gemini-1.5-flash", "gpt-4o",