@@ -45,7 +45,7 @@ func TestResolveModelAliases(t *testing.T) {
4545 },
4646 },
4747 {
48- name : "resolves inline model in agent" ,
48+ name : "does not resolve inline model in agent" ,
4949 cfg : & latest.Config {
5050 Models : map [string ]latest.ModelConfig {},
5151 Agents : []latest.AgentConfig {
@@ -55,7 +55,7 @@ func TestResolveModelAliases(t *testing.T) {
5555 expected : & latest.Config {
5656 Models : map [string ]latest.ModelConfig {},
5757 Agents : []latest.AgentConfig {
58- {Name : "root" , Model : "anthropic/claude-sonnet-4-5-20250929 " },
58+ {Name : "root" , Model : "anthropic/claude-sonnet-4-5" },
5959 },
6060 },
6161 },
@@ -107,7 +107,7 @@ func TestResolveModelAliases(t *testing.T) {
107107 },
108108 },
109109 {
110- name : "handles comma-separated models" ,
110+ name : "does not resolve comma-separated inline models in agent " ,
111111 cfg : & latest.Config {
112112 Models : map [string ]latest.ModelConfig {},
113113 Agents : []latest.AgentConfig {
@@ -117,7 +117,7 @@ func TestResolveModelAliases(t *testing.T) {
117117 expected : & latest.Config {
118118 Models : map [string ]latest.ModelConfig {},
119119 Agents : []latest.AgentConfig {
120- {Name : "root" , Model : "anthropic/claude-sonnet-4-5-20250929 ,my_ref" },
120+ {Name : "root" , Model : "anthropic/claude-sonnet-4-5,my_ref" },
121121 },
122122 },
123123 },
0 commit comments