File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
66
66
LlmIcon = BotIconGemma ;
67
67
} else if ( modelName . startsWith ( "claude" ) ) {
68
68
LlmIcon = BotIconClaude ;
69
- } else if ( modelName . startsWith ( "llama" ) ) {
69
+ } else if ( modelName . toLowerCase ( ) . includes ( "llama" ) ) {
70
70
LlmIcon = BotIconMeta ;
71
71
} else if ( modelName . startsWith ( "mixtral" ) ) {
72
72
LlmIcon = BotIconMistral ;
73
- } else if ( modelName . startsWith ( "deepseek" ) ) {
73
+ } else if ( modelName . toLowerCase ( ) . includes ( "deepseek" ) ) {
74
74
LlmIcon = BotIconDeepseek ;
75
75
} else if ( modelName . startsWith ( "moonshot" ) ) {
76
76
LlmIcon = BotIconMoonshot ;
@@ -85,7 +85,7 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
85
85
} else if ( modelName . startsWith ( "doubao" ) || modelName . startsWith ( "ep-" ) ) {
86
86
LlmIcon = BotIconDoubao ;
87
87
} else if (
88
- modelName . startsWith ( "glm" ) ||
88
+ modelName . toLowerCase ( ) . includes ( "glm" ) ||
89
89
modelName . startsWith ( "cogview-" ) ||
90
90
modelName . startsWith ( "cogvideox-" )
91
91
) {
You can’t perform that action at this time.
0 commit comments