Skip to content

Commit 23275b5

Browse files
authored
✨ feat(rn): update new icons (#162)
1 parent 5f2830b commit 23275b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2324
-244
lines changed

packages/react-native/src/features/modelConfig.ts

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import AssemblyAI from '../icons/AssemblyAI';
1111
import Aws from '../icons/Aws';
1212
import Aya from '../icons/Aya';
1313
import Baichuan from '../icons/Baichuan';
14+
import BaiduCloud from '../icons/BaiduCloud';
15+
import Bilibili from '../icons/Bilibili';
16+
import BilibiliIndex from '../icons/BilibiliIndex';
1417
import BurnCloud from '../icons/BurnCloud';
1518
import ByteDance from '../icons/ByteDance';
1619
import ChatGLM from '../icons/ChatGLM';
@@ -22,47 +25,59 @@ import Dalle from '../icons/Dalle';
2225
import Dbrx from '../icons/Dbrx';
2326
import DeepMind from '../icons/DeepMind';
2427
import DeepSeek from '../icons/DeepSeek';
28+
import Dolphin from '../icons/Dolphin';
2529
import Doubao from '../icons/Doubao';
2630
import Fireworks from '../icons/Fireworks';
2731
import FishAudio from '../icons/FishAudio';
2832
import Flux from '../icons/Flux';
33+
import GLMV from '../icons/GLMV';
2934
import Gemini from '../icons/Gemini';
3035
import Gemma from '../icons/Gemma';
3136
import Google from '../icons/Google';
3237
import Grok from '../icons/Grok';
3338
import Hunyuan from '../icons/Hunyuan';
39+
import IBM from '../icons/IBM';
3440
import Ideogram from '../icons/Ideogram';
3541
import Inflection from '../icons/Inflection';
3642
import InternLM from '../icons/InternLM';
3743
import Jina from '../icons/Jina';
44+
import Kolors from '../icons/Kolors';
45+
import LG from '../icons/LG';
3846
import LLaVA from '../icons/LLaVA';
3947
import Liquid from '../icons/Liquid';
48+
import Menlo from '../icons/Menlo';
4049
import Meta from '../icons/Meta';
4150
import Microsoft from '../icons/Microsoft';
4251
import Minimax from '../icons/Minimax';
4352
import Mistral from '../icons/Mistral';
4453
import Moonshot from '../icons/Moonshot';
54+
import NousResearch from '../icons/NousResearch';
55+
import Nvidia from '../icons/Nvidia';
4556
// Import React Native icon components
4657
import OpenAI from '../icons/OpenAI';
4758
import OpenChat from '../icons/OpenChat';
4859
import OpenRouter from '../icons/OpenRouter';
4960
import PaLM from '../icons/PaLM';
5061
import Perplexity from '../icons/Perplexity';
62+
import Phind from '../icons/Phind';
5163
import Qiniu from '../icons/Qiniu';
5264
import Qwen from '../icons/Qwen';
5365
import Rwkv from '../icons/Rwkv';
5466
import SenseNova from '../icons/SenseNova';
67+
import Skywork from '../icons/Skywork';
5568
import Spark from '../icons/Spark';
5669
import Stability from '../icons/Stability';
5770
import Stepfun from '../icons/Stepfun';
5871
import Suno from '../icons/Suno';
72+
import TII from '../icons/TII';
5973
import Udio from '../icons/Udio';
6074
import Upstage from '../icons/Upstage';
6175
import V0 from '../icons/V0';
6276
import VertexAI from '../icons/VertexAI';
6377
import Voyage from '../icons/Voyage';
6478
import Wenxin from '../icons/Wenxin';
6579
import Yi from '../icons/Yi';
80+
import ZAI from '../icons/ZAI';
6681
import type { RNIconProps } from './types';
6782

6883
type RNModelIconType = FC<RNIconProps & any> & {
@@ -85,6 +100,8 @@ export interface RNModelMapping {
85100
export const rnModelMappings: RNModelMapping[] = [
86101
{ Icon: OpenAI, keywords: ['gpt-3'], props: { type: 'gpt3' } },
87102
{ Icon: OpenAI, keywords: ['gpt-4'], props: { type: 'gpt4' } },
103+
{ Icon: OpenAI, keywords: ['gpt-5'], props: { type: 'gpt5' } },
104+
{ Icon: OpenAI, keywords: ['gpt-oss'], props: { type: 'oss' } },
88105
{
89106
Icon: OpenAI,
90107
keywords: ['o1-', '^o1', '/o1', 'o3-', '^o3', '/o3', 'o4-', '^o4', '/o4'],
@@ -103,6 +120,7 @@ export const rnModelMappings: RNModelMapping[] = [
103120
'omni-moderation',
104121
'text-moderation',
105122
'text-adb',
123+
'text-ada',
106124
'computer-use',
107125
],
108126
props: { type: 'platform' },
@@ -111,13 +129,17 @@ export const rnModelMappings: RNModelMapping[] = [
111129
Icon: OpenAI,
112130
keywords: ['^gpt-', '/gpt-', 'openai'],
113131
},
132+
{ Icon: GLMV, keywords: ['^glm-(.*)v', '/glm-(.*)v'] },
133+
{ Icon: ZAI, keywords: ['^glm-4', '/glm-4'] },
114134
{ Icon: ChatGLM, keywords: ['^glm-', '/glm-', 'chatglm'] },
115135
{ Icon: CodeGeeX, keywords: ['^codegeex', '/codegeex'] },
116136
{ Icon: Claude, keywords: ['claude'] },
117137
{ Icon: Anthropic, keywords: ['anthropic'] },
118138
{ Icon: Aws, keywords: ['titan'] },
119139
{ Icon: Fireworks, keywords: ['accounts/fireworks/models/fire'] },
120140
{ Icon: InternLM, keywords: ['internlm', 'internvl'] },
141+
{ Icon: NousResearch, keywords: ['deephermes', 'hermes', 'genstruct', 'minos'] },
142+
{ Icon: Nvidia, keywords: ['nemotron', 'openreasoning'] },
121143
{ Icon: Meta, keywords: ['llama', '/l3'] },
122144
{ Icon: LLaVA, keywords: ['llava'] },
123145
{ Icon: Gemini, keywords: ['gemini'] },
@@ -129,7 +151,18 @@ export const rnModelMappings: RNModelMapping[] = [
129151
{ Icon: Minimax, keywords: ['minimax', 'abab', '^image-'] },
130152
{
131153
Icon: Mistral,
132-
keywords: ['mistral', 'mixtral', 'codestral', 'mathstral', '/mn-', 'pixtral', 'ministral'],
154+
keywords: [
155+
'mistral',
156+
'mixtral',
157+
'codestral',
158+
'mathstral',
159+
'/mn-',
160+
'pixtral',
161+
'ministral',
162+
'magistral',
163+
'devstral',
164+
'voxtral',
165+
],
133166
},
134167
{ Icon: Perplexity, keywords: ['pplx', 'sonar'] },
135168
{ Icon: Yi, keywords: ['^yi-', '/yi-', '-yi-'] },
@@ -198,6 +231,17 @@ export const rnModelMappings: RNModelMapping[] = [
198231
{ Icon: AiHubMix, keywords: ['aihubmix'] },
199232
{ Icon: V0, keywords: ['^v0-'] },
200233
{ Icon: VertexAI, keywords: ['^veo-', '/veo-'] },
201-
{ Icon: Google, keywords: ['google'] },
234+
{ Icon: Google, keywords: ['google', 'learnlm'] },
202235
{ Icon: CogView, keywords: ['cogview'] },
236+
{ Icon: Kolors, keywords: ['kolors'] },
237+
{ Icon: BaiduCloud, keywords: ['baidu', 'qianfan'] },
238+
{ Icon: Phind, keywords: ['phind'] },
239+
{ Icon: Dolphin, keywords: ['dolphin'] },
240+
{ Icon: IBM, keywords: ['ibm', 'granite'] },
241+
{ Icon: Skywork, keywords: ['skywork'] },
242+
{ Icon: BilibiliIndex, keywords: ['bilibili-index'] },
243+
{ Icon: Bilibili, keywords: ['bilibili'] },
244+
{ Icon: LG, keywords: ['kmmlu', 'exaone', 'lgai'] },
245+
{ Icon: TII, keywords: ['falcon'] },
246+
{ Icon: Menlo, keywords: ['menlo', 'lucy', 'jan-nano'] },
203247
];

0 commit comments

Comments
 (0)