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

View File

@@ -3,7 +3,6 @@ package vo
// ApiKey OpenAI API 模型
type ApiKey struct {
BaseVo
Platform string `json:"platform"`
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"` // API Key 的值

View File

@@ -2,7 +2,6 @@ package vo
type ChatModel struct {
BaseVo
Platform string `json:"platform"`
Name string `json:"name"`
Value string `json:"value"`
Enabled bool `json:"enabled"`