style(lint): fix config and qq formatting
This commit is contained in:
parent
bef17d6453
commit
168b75ae21
2 changed files with 21 additions and 19 deletions
|
|
@ -25,11 +25,13 @@ const CurrentVersion = 2
|
||||||
|
|
||||||
// Config is the current config structure with version support
|
// Config is the current config structure with version support
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Version int `json:"version" yaml:"-"` // Config schema version for migration
|
// Config schema version for migration.
|
||||||
|
Version int `json:"version" yaml:"-"`
|
||||||
Agents AgentsConfig `json:"agents" yaml:"-"`
|
Agents AgentsConfig `json:"agents" yaml:"-"`
|
||||||
Session SessionConfig `json:"session,omitempty" yaml:"-"`
|
Session SessionConfig `json:"session,omitempty" yaml:"-"`
|
||||||
Channels ChannelsConfig `json:"channels" yaml:"channels"`
|
Channels ChannelsConfig `json:"channels" yaml:"channels"`
|
||||||
ModelList SecureModelList `json:"model_list" yaml:"model_list"` // New model-centric provider configuration
|
// New model-centric provider configuration.
|
||||||
|
ModelList SecureModelList `json:"model_list" yaml:"model_list"`
|
||||||
Gateway GatewayConfig `json:"gateway" yaml:"-"`
|
Gateway GatewayConfig `json:"gateway" yaml:"-"`
|
||||||
Hooks HooksConfig `json:"hooks,omitempty" yaml:"-"`
|
Hooks HooksConfig `json:"hooks,omitempty" yaml:"-"`
|
||||||
Tools ToolsConfig `json:"tools" yaml:",inline"`
|
Tools ToolsConfig `json:"tools" yaml:",inline"`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue