mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
add model
This commit is contained in:
@@ -34,6 +34,10 @@ import {
|
||||
Button,
|
||||
} from "antd";
|
||||
import { OpenAIOutlined, GoogleOutlined } from "@ant-design/icons";
|
||||
// 自定义图标
|
||||
import Icon from "@ant-design/icons";
|
||||
import MoonShot from "@/app/icons/Moonshot.svg";
|
||||
|
||||
const { Meta } = AntCard;
|
||||
import { CheckCard } from "@ant-design/pro-components";
|
||||
import { CheckGroupValueType } from "@ant-design/pro-card/es/components/CheckCard/Group";
|
||||
@@ -613,6 +617,9 @@ export function ModalSelector<T extends CheckGroupValueType>(props: {
|
||||
if (value.startsWith("claude")) {
|
||||
return <ClaudeInstantIcon />;
|
||||
}
|
||||
if (value.startsWith("moon")) {
|
||||
return <Icon component={MoonShot} />;
|
||||
}
|
||||
return <></>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user