remove platform field for api key and chat model

This commit is contained in:
RockYang
2024-07-30 17:24:21 +08:00
parent 5622f94fc8
commit 4eaa518cf3
12 changed files with 896 additions and 28 deletions
-1
View File
@@ -3,7 +3,6 @@ package model
// ApiKey OpenAI API 模型
type ApiKey struct {
BaseModel
Platform string
Name string
Type string // 用途 chat => 聊天,img => 绘图
Value string // API Key 的值
-1
View File
@@ -2,7 +2,6 @@ package model
type ChatModel struct {
BaseModel
Platform string
Name string
Value string // API Key 的值
SortNum int