Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OldLLMConfig ¶
type OldLLMConfig struct {
ID uint `gorm:"primaryKey"`
Providers json.RawMessage `gorm:"type:text"`
CreatedAt time.Time
UpdatedAt time.Time
}
OldLLMConfig 旧的LLM配置结构(用于迁移)
func (OldLLMConfig) TableName ¶
func (OldLLMConfig) TableName() string
type OldLLMProviderInstance ¶
type OldLLMProviderInstance struct {
ID string `json:"id"`
Name string `json:"name"`
Enabled bool `json:"enabled"`
Provider string `json:"provider"`
Model string `json:"model"`
APIKey string `json:"api_key"`
BaseURL string `json:"base_url"`
}
OldLLMProviderInstance 旧的LLM提供商实例结构
Click to show internal directories.
Click to hide internal directories.