@@ -50,15 +50,15 @@ func TestSettingPrecedence_AgentBeatsUserBeatsSystem(t *testing.T) {
5050
5151 // agent-scope override on top
5252 if err := SaveSetting (ctx , db , "" , agentID , "agents.defaults" ,
53- map [string ]interface {}{"model" : "anthropic/claude-opus-4. 7" }); err != nil {
53+ map [string ]interface {}{"model" : "anthropic/claude-opus-4- 7" }); err != nil {
5454 t .Fatalf ("save agent: %v" , err )
5555 }
5656 got = config.AgentDefaults {}
5757 if err := SettingInto (ctx , db , "agents.defaults" , userID , agentID , & got ); err != nil {
5858 t .Fatalf ("setting into: %v" , err )
5959 }
60- if got .Model != "anthropic/claude-opus-4. 7" {
61- t .Fatalf ("agent should beat user: want anthropic/claude-opus-4. 7, got %q" , got .Model )
60+ if got .Model != "anthropic/claude-opus-4- 7" {
61+ t .Fatalf ("agent should beat user: want anthropic/claude-opus-4- 7, got %q" , got .Model )
6262 }
6363
6464 // Verify the raw agent-scope row reads what we wrote, independent of
@@ -72,8 +72,8 @@ func TestSettingPrecedence_AgentBeatsUserBeatsSystem(t *testing.T) {
7272 if rec == nil {
7373 t .Fatal ("agent-scope row missing after save" )
7474 }
75- if v , _ := rec .Data ["model" ].(string ); v != "anthropic/claude-opus-4. 7" {
76- t .Fatalf ("agent-scope row model: want anthropic/claude-opus-4. 7, got %q" , v )
75+ if v , _ := rec .Data ["model" ].(string ); v != "anthropic/claude-opus-4- 7" {
76+ t .Fatalf ("agent-scope row model: want anthropic/claude-opus-4- 7, got %q" , v )
7777 }
7878
7979 // Delete agent-scope (empty data) → falls back to user-scope.
0 commit comments