feat: add system config item for dall e3 generate image num

This commit is contained in:
RockYang
2023-12-10 17:13:25 +08:00
parent 024c0032eb
commit 91ed41b536
3 changed files with 18 additions and 24 deletions

View File

@@ -116,6 +116,7 @@ type ChatConfig struct {
EnableHistory bool `json:"enable_history"` // 是否允许保存聊天记录
ContextDeep int `json:"context_deep"` // 上下文深度
DallApiURL string `json:"dall_api_url"` // dall-e3 绘图 API 地址
DallImgNum int `json:"dall_img_num"` // dall-e3 出图数量
}
type Platform string