fix o1 in disableGPT4

This commit is contained in:
code-october
2024-11-21 03:45:07 +00:00
parent a2adfbbd32
commit 23350c842b
3 changed files with 6 additions and 4 deletions

View File

@@ -37,7 +37,8 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
return (
<div className="no-dark">
{props.model?.startsWith("gpt-4") ||
props.model?.startsWith("chatgpt-4o") ? (
props.model?.startsWith("chatgpt-4o") ||
props.model?.startsWith("o1") ? (
<BlackBotIcon className="user-avatar" />
) : (
<BotIcon className="user-avatar" />