Skip to content

Commit 55cbc8c

Browse files
committed
fix(ci): Prevent workflow failures in relocated adk_team samples
Workflows failed because the gemini-2.5-pro model is not available for our projects and the CONTRIBUTING.md relative path resolved incorrectly after relocation. Updated the model to gemini-3.5-flash and adjusted the path resolver depth. Change-Id: Iffc8a2b0044f3d73b0cb0b364db220d2bd055683
1 parent 363a686 commit 55cbc8c

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

contributing/samples/adk_team/adk_answering_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939

4040
root_agent = Agent(
41-
model="gemini-2.5-pro",
41+
model="gemini-3.5-flash",
4242
name="adk_answering_agent",
4343
description="Answer questions about ADK repo.",
4444
instruction=f"""

contributing/samples/adk_team/adk_answering_agent/gemini_assistant/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def search_gemini_api_docs(queries: List[str]) -> Dict[str, Any]:
7272

7373

7474
root_agent = Agent(
75-
model="gemini-2.5-pro",
75+
model="gemini-3.5-flash",
7676
name="gemini_assistant",
7777
description="Answer questions about Gemini API.",
7878
instruction="""

contributing/samples/adk_team/adk_documentation/adk_docs_updater/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
)
4747

4848
root_agent = Agent(
49-
model="gemini-2.5-pro",
49+
model="gemini-3.5-flash",
5050
name="adk_docs_updater",
5151
description=(
5252
"Update the ADK docs based on the code in the ADK Python codebase"

contributing/samples/adk_team/adk_issue_formatting_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def list_comments_on_issue(issue_number: int) -> dict[str, any]:
132132

133133

134134
root_agent = Agent(
135-
model="gemini-2.5-pro",
135+
model="gemini-3.5-flash",
136136
name="adk_issue_formatting_assistant",
137137
description="Check ADK issue format and content.",
138138
instruction=f"""

contributing/samples/adk_team/adk_pr_triaging_agent/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
]
4242

4343
CONTRIBUTING_MD = read_file(
44-
Path(__file__).resolve().parents[3] / "CONTRIBUTING.md"
44+
Path(__file__).resolve().parents[4] / "CONTRIBUTING.md"
4545
)
4646

4747
APPROVAL_INSTRUCTION = (
@@ -220,7 +220,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
220220

221221

222222
root_agent = Agent(
223-
model="gemini-2.5-pro",
223+
model="gemini-3.5-flash",
224224
name="adk_pr_triaging_assistant",
225225
description="Triage ADK pull requests.",
226226
instruction=f"""

contributing/samples/adk_team/adk_triaging_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:
244244

245245

246246
root_agent = Agent(
247-
model="gemini-2.5-pro",
247+
model="gemini-3.5-flash",
248248
name="adk_triaging_assistant",
249249
description="Triage ADK issues.",
250250
instruction=f"""

0 commit comments

Comments
 (0)