@@ -60,7 +60,7 @@ def test_generate_files_with_api_key(agent_folder: Path) -> None:
6060 cli_create ._generate_files (
6161 str (agent_folder ),
6262 google_api_key = "dummy-key" ,
63- model = "gemini-2.0 -flash-001 " ,
63+ model = "gemini-2.5 -flash" ,
6464 type = "code" ,
6565 )
6666
@@ -77,7 +77,7 @@ def test_generate_files_with_gcp(agent_folder: Path) -> None:
7777 str (agent_folder ),
7878 google_cloud_project = "proj" ,
7979 google_cloud_region = "us-central1" ,
80- model = "gemini-2.0 -flash-001 " ,
80+ model = "gemini-2.5 -flash" ,
8181 type = "code" ,
8282 )
8383
@@ -95,7 +95,7 @@ def test_generate_files_overwrite(agent_folder: Path) -> None:
9595 cli_create ._generate_files (
9696 str (agent_folder ),
9797 google_api_key = "new-key" ,
98- model = "gemini-2.0 -flash-001 " ,
98+ model = "gemini-2.5 -flash" ,
9999 type = "code" ,
100100 )
101101
@@ -111,14 +111,14 @@ def test_generate_files_permission_error(
111111 )
112112 with pytest .raises (PermissionError ):
113113 cli_create ._generate_files (
114- str (agent_folder ), model = "gemini-2.0 -flash-001 " , type = "code"
114+ str (agent_folder ), model = "gemini-2.5 -flash" , type = "code"
115115 )
116116
117117
118118def test_generate_files_no_params (agent_folder : Path ) -> None :
119119 """No backend parameters → minimal .env file is generated."""
120120 cli_create ._generate_files (
121- str (agent_folder ), model = "gemini-2.0 -flash-001 " , type = "code"
121+ str (agent_folder ), model = "gemini-2.5 -flash" , type = "code"
122122 )
123123
124124 env_content = (agent_folder / ".env" ).read_text ()
@@ -147,7 +147,7 @@ def test_run_cmd_overwrite_reject(
147147 with pytest .raises (click .Abort ):
148148 cli_create .run_cmd (
149149 agent_name ,
150- model = "gemini-2.0 -flash-001 " ,
150+ model = "gemini-2.5 -flash" ,
151151 google_api_key = None ,
152152 google_cloud_project = None ,
153153 google_cloud_region = None ,
@@ -164,7 +164,7 @@ def test_run_cmd_invalid_app_name(
164164 with pytest .raises (click .BadParameter , match = "Invalid app name" ):
165165 cli_create .run_cmd (
166166 "my-agent" ,
167- model = "gemini-2.0 -flash-001 " ,
167+ model = "gemini-2.5 -flash" ,
168168 google_api_key = None ,
169169 google_cloud_project = None ,
170170 google_cloud_region = None ,
@@ -182,7 +182,7 @@ def test_run_cmd_with_type_config(
182182
183183 cli_create .run_cmd (
184184 agent_name ,
185- model = "gemini-2.0 -flash-001 " ,
185+ model = "gemini-2.5 -flash" ,
186186 google_api_key = "test-key" ,
187187 google_cloud_project = None ,
188188 google_cloud_region = None ,
@@ -200,7 +200,7 @@ def test_run_cmd_with_type_config(
200200 # Check YAML content
201201 yaml_content = yaml_file .read_text ()
202202 assert "name: root_agent" in yaml_content
203- assert "model: gemini-2.0 -flash-001 " in yaml_content
203+ assert "model: gemini-2.5 -flash" in yaml_content
204204 assert "description: A helpful assistant for user questions." in yaml_content
205205
206206 # Should create empty __init__.py
0 commit comments