add chatgpt-4o-latest

This commit is contained in:
l.tingting
2024-09-07 01:42:56 +08:00
parent 2bd799fac6
commit c1b74201e4
6 changed files with 18 additions and 7 deletions

View File

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