remove router structs for next pr
This commit is contained in:
parent
e7ac3dbcaa
commit
ba0fd75ee6
2 changed files with 0 additions and 12 deletions
|
|
@ -9,11 +9,6 @@
|
||||||
"max_tool_iterations": 20
|
"max_tool_iterations": 20
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"router": {
|
|
||||||
"enabled": false,
|
|
||||||
"heavy_model": "glm-4.7",
|
|
||||||
"light_model": "glm-4.7-flash"
|
|
||||||
},
|
|
||||||
"channels": {
|
"channels": {
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ func (f *FlexibleStringSlice) UnmarshalJSON(data []byte) error {
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Agents AgentsConfig `json:"agents"`
|
Agents AgentsConfig `json:"agents"`
|
||||||
Router RouterConfig `json:"router"`
|
|
||||||
Channels ChannelsConfig `json:"channels"`
|
Channels ChannelsConfig `json:"channels"`
|
||||||
Providers map[string]*ProviderConfig `json:"providers"`
|
Providers map[string]*ProviderConfig `json:"providers"`
|
||||||
Gateway GatewayConfig `json:"gateway"`
|
Gateway GatewayConfig `json:"gateway"`
|
||||||
|
|
@ -55,12 +54,6 @@ type Config struct {
|
||||||
mu sync.RWMutex
|
mu sync.RWMutex
|
||||||
}
|
}
|
||||||
|
|
||||||
type RouterConfig struct {
|
|
||||||
Enabled bool `json:"enabled"`
|
|
||||||
HeavyModel string `json:"heavy_model"`
|
|
||||||
LightModel string `json:"light_model"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type AgentsConfig struct {
|
type AgentsConfig struct {
|
||||||
Defaults AgentDefaults `json:"defaults"`
|
Defaults AgentDefaults `json:"defaults"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue