From 402ad0ff37b7fc54063ef9a15a6a2e3ec8614149 Mon Sep 17 00:00:00 2001 From: Zhijie He Date: Sun, 1 Sep 2024 16:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Yi=20&=20Solar=20icon=20d?= =?UTF-8?q?isplay=20in=20TogetherAI=20provider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ModelIcon/const.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModelIcon/const.ts b/src/ModelIcon/const.ts index bf501192..5a77e6ea 100644 --- a/src/ModelIcon/const.ts +++ b/src/ModelIcon/const.ts @@ -85,7 +85,7 @@ export const modelMappings: ModelMapping[] = [ { Icon: Minimax, keywords: ['minmax', 'abab'] }, { Icon: Mistral, keywords: ['mistral', 'mixtral', 'codestral', 'mathstral', '/mn-'] }, { Icon: Perplexity, keywords: ['pplx', 'sonar'] }, - { Icon: Yi, keywords: ['^yi-', '/yi-'] }, + { Icon: Yi, keywords: ['^yi-', '/yi-', '-yi-'] }, { Icon: OpenRouter, keywords: ['^openrouter'] }, { Icon: OpenChat, keywords: ['^openchat'] }, { Icon: Aya, keywords: ['aya'] }, @@ -121,7 +121,7 @@ export const modelMappings: ModelMapping[] = [ { Icon: Adobe, keywords: ['firefly'] }, { Icon: Ai21, keywords: ['jamba', '^j2-'] }, { Icon: InternLM, keywords: ['internlm'] }, - { Icon: Upstage, keywords: ['^solar-'] }, + { Icon: Upstage, keywords: ['^solar-', '/solar'] }, { Icon: PaLM, keywords: ['palm'] }, { Icon: Google, keywords: ['google'] }, {