mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-10 03:03:43 +08:00
feat: allow user to set custom api keys for different platforms
This commit is contained in:
@@ -109,7 +109,7 @@ func (h *UserHandler) Save(c *gin.Context) {
|
||||
ApiKeys: map[types.Platform]string{
|
||||
types.OpenAI: "",
|
||||
types.Azure: "",
|
||||
types.ChatGML: "",
|
||||
types.ChatGLM: "",
|
||||
},
|
||||
}),
|
||||
Calls: h.App.SysConfig.UserInitCalls,
|
||||
|
||||
Reference in New Issue
Block a user