mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 10:43:44 +08:00
refactor: refactor chat_handler, add support for Azure and ChatGLM
This commit is contained in:
10
api/store/model/chat_model.go
Normal file
10
api/store/model/chat_model.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package model
|
||||
|
||||
type ChatModel struct {
|
||||
BaseModel
|
||||
Platform string
|
||||
Name string
|
||||
Value string // API Key 的值
|
||||
SortNum int
|
||||
Enabled bool
|
||||
}
|
||||
Reference in New Issue
Block a user