feat: 增加账单

This commit is contained in:
archer
2023-03-21 14:01:35 +08:00
parent dc467c26b5
commit 42c26bd155
15 changed files with 211 additions and 64 deletions

View File

@@ -42,7 +42,7 @@ const CreateModel = ({
formState: { errors }
} = useForm<CreateFormType>({
defaultValues: {
serviceModelName: ModelList['openai'][0].model
serviceModelName: ModelList[0].model
}
});
@@ -95,7 +95,7 @@ const CreateModel = ({
required: '底层模型不能为空'
})}
>
{ModelList['openai'].map((item) => (
{ModelList.map((item) => (
<option key={item.model} value={item.model}>
{item.name}
</option>