From 2e9dafbfe9846788074ca6490e75566ad137fac5 Mon Sep 17 00:00:00 2001 From: Zhijie He Date: Fri, 13 Sep 2024 10:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Yi=20&=20Solar=20icon=20d?= =?UTF-8?q?isplay=20in=20TogetherAI=20provider=20(#35)?= 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 aa25892..a18004f 100644 --- a/src/ModelIcon/const.ts +++ b/src/ModelIcon/const.ts @@ -86,7 +86,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'] }, @@ -122,7 +122,7 @@ export const modelMappings: ModelMapping[] = [ { Icon: Adobe, keywords: ['firefly'] }, { Icon: Ai21, keywords: ['jamba', '^j2-', 'ai21'] }, { Icon: InternLM, keywords: ['internlm'] }, - { Icon: Upstage, keywords: ['^solar-'] }, + { Icon: Upstage, keywords: ['^solar-', '/solar'] }, { Icon: PaLM, keywords: ['palm'] }, { Icon: Google, keywords: ['google'] }, {