fix emoji issue for doubao and glm's congview & congvideox

This commit is contained in:
suruiqiang 2025-02-07 16:18:15 +08:00
parent f30c6a4348
commit f156430cc5

View File

@ -80,9 +80,13 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
LlmIcon = BotIconGrok;
} else if (modelName.startsWith("hunyuan")) {
LlmIcon = BotIconHunyuan;
} else if (modelName.startsWith("doubao")) {
} else if (modelName.startsWith("doubao") || modelName.startsWith("ep-")) {
LlmIcon = BotIconDoubao;
} else if (modelName.startsWith("glm")) {
} else if (
modelName.startsWith("glm") ||
modelName.startsWith("cogview-") ||
modelName.startsWith("cogvideox-")
) {
LlmIcon = BotIconChatglm;
}