mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-21 00:24:12 +08:00
23 lines
771 B
Go
23 lines
771 B
Go
package model
|
|
|
|
type Agent struct {
|
|
BaseModel
|
|
Name string `json:"name" gorm:"not null;unique"`
|
|
Remark string `json:"remark"`
|
|
AgentType string `json:"agentType" gorm:"default:openclaw"`
|
|
Provider string `json:"provider"`
|
|
Model string `json:"model"`
|
|
APIType string `json:"apiType"`
|
|
MaxTokens int `json:"maxTokens"`
|
|
ContextWindow int `json:"contextWindow"`
|
|
BaseURL string `json:"baseUrl"`
|
|
APIKey string `json:"apiKey"`
|
|
Token string `json:"token"`
|
|
Status string `json:"status"`
|
|
Message string `json:"message"`
|
|
AppInstallID uint `json:"appInstallId"`
|
|
WebsiteID uint `json:"websiteId"`
|
|
AccountID uint `json:"accountId"`
|
|
ConfigPath string `json:"configPath"`
|
|
}
|