Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ type BackpressureCfg struct {
func Default() *Config {
return &Config{
Rho: RhoConfig{
Model: "grok-4.3",
Model: "grok-4.7",
FastModel: "grok-build-0.1",
SmartModel: "grok-4.3",
SmartModel: "grok-4.7",
},
LLM: LLMConfig{
Provider: "xai",
Model: "grok-4.20-multi-agent-0309",
SmartProvider: "xai",
SmartModel: "grok-4.3",
SmartModel: "grok-4.7",
FastProvider: "xai",
FastModel: "grok-build-0.1",
MultiAgentModel: "grok-4.20-multi-agent-0309",
Expand All @@ -99,8 +99,8 @@ func Default() *Config {
TaskTimeoutSecs: 600,
Tiers: TierConfig{
Fast: "grok-build-0.1",
Standard: "grok-4.3",
Smart: "grok-4.3",
Standard: "grok-4.7",
Smart: "grok-4.7",
},
Backpressure: BackpressureCfg{
StopOnFailure: true,
Expand Down Expand Up @@ -213,9 +213,9 @@ func (c *Config) Save(scudDir string) error {
// DefaultTOML returns the default config as TOML string.
func DefaultTOML() string {
return `[rho]
model = "grok-4.3"
model = "grok-4.7"
fast_model = "grok-build-0.1"
smart_model = "grok-4.3"
smart_model = "grok-4.7"

[heavy]
# model = "" # override-all fallback
Expand All @@ -227,7 +227,7 @@ timeout_secs = 300
# [heavy.models]
# routing = "grok-build-0.1"
# agents = "grok-build-0.1"
# synthesis = "grok-4.3"
# synthesis = "grok-4.7"
# debate = "grok-build-0.1"
# native = "grok-4.20-multi-agent-0309"

Expand All @@ -238,8 +238,8 @@ task_timeout_secs = 600

[swarm.tiers]
fast = "grok-build-0.1"
standard = "grok-4.3"
smart = "grok-4.3"
standard = "grok-4.7"
smart = "grok-4.7"

[swarm.backpressure]
commands = []
Expand Down Expand Up @@ -281,7 +281,7 @@ func (c *Config) HeavyModel(role string) string {
if c.Rho.SmartModel != "" {
return c.Rho.SmartModel
}
return "grok-4.20-reasoning"
return "grok-4.7"
}

// ModelForTier resolves a model tier to an actual model name.
Expand Down
12 changes: 9 additions & 3 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ import (

func TestDefaultValues(t *testing.T) {
cfg := Default()
if cfg.Rho.Model == "" {
t.Error("default Rho.Model is empty")
if cfg.Rho.Model != "grok-4.7" {
t.Errorf("default Rho.Model = %q, want grok-4.7", cfg.Rho.Model)
}
if cfg.Rho.SmartModel != "grok-4.7" {
t.Errorf("default Rho.SmartModel = %q, want grok-4.7", cfg.Rho.SmartModel)
}
if cfg.Swarm.Tiers.Standard != "grok-4.7" {
t.Errorf("default Swarm.Tiers.Standard = %q, want grok-4.7", cfg.Swarm.Tiers.Standard)
}
if cfg.LLM.Provider != "xai" {
t.Errorf("LLM.Provider = %q, want %q", cfg.LLM.Provider, "xai")
Expand Down Expand Up @@ -191,7 +197,7 @@ func TestHeavyModel(t *testing.T) {
name: "ultimate default",
cfg: Config{},
role: "debate",
want: "grok-4.20-reasoning",
want: "grok-4.7",
},
{
name: "native per-role",
Expand Down
2 changes: 1 addition & 1 deletion pkg/heavy/council.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func RunCouncil(ctx context.Context, cfg *config.Config, opts CouncilOpts) (*Res
opts.CaptainModel = cfg.HeavyModel("synthesis")
}
if opts.CaptainModel == "" {
opts.CaptainModel = "grok-4.20-reasoning"
opts.CaptainModel = "grok-4.7"
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/heavy/ensemble.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func resolveModels(opts RunOpts, cfg *config.Config) resolvedModels {
if cfg != nil {
return cfg.HeavyModel(role)
}
return "grok-4.20-reasoning"
return "grok-4.7"
}
return resolvedModels{
routing: resolve("routing", opts.ModelRouting),
Expand Down
2 changes: 1 addition & 1 deletion pkg/heavy/heavy_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestResolveModelsPrecedence(t *testing.T) {
opts: RunOpts{},
cfg: nil,
role: "agents",
want: "grok-4.20-reasoning",
want: "grok-4.7",
},
{
name: "native role uses LLM config",
Expand Down
2 changes: 1 addition & 1 deletion pkg/heavy/squad.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func RunSquad(ctx context.Context, cfg *config.Config, opts SquadOpts) (*Result,
opts.CaptainModel = cfg.HeavyModel("synthesis")
}
if opts.CaptainModel == "" {
opts.CaptainModel = "grok-4.20-reasoning"
opts.CaptainModel = "grok-4.7"
}
}

Expand Down
Loading