diff --git a/config/config.example.json b/config/config.example.json index 896298c3e..37c2bcd81 100644 --- a/config/config.example.json +++ b/config/config.example.json @@ -9,11 +9,6 @@ "max_tool_iterations": 20 } }, - "router": { - "enabled": false, - "heavy_model": "glm-4.7", - "light_model": "glm-4.7-flash" - }, "channels": { "telegram": { "enabled": false, diff --git a/pkg/config/config.go b/pkg/config/config.go index ec16af899..1c353a527 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -45,7 +45,6 @@ func (f *FlexibleStringSlice) UnmarshalJSON(data []byte) error { type Config struct { Agents AgentsConfig `json:"agents"` - Router RouterConfig `json:"router"` Channels ChannelsConfig `json:"channels"` Providers map[string]*ProviderConfig `json:"providers"` Gateway GatewayConfig `json:"gateway"` @@ -55,12 +54,6 @@ type Config struct { mu sync.RWMutex } -type RouterConfig struct { - Enabled bool `json:"enabled"` - HeavyModel string `json:"heavy_model"` - LightModel string `json:"light_model"` -} - type AgentsConfig struct { Defaults AgentDefaults `json:"defaults"` }