Skip to content
Open
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
3 changes: 2 additions & 1 deletion contributing/samples/adk_answering_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from adk_answering_agent.gemini_assistant.agent import root_agent as gemini_assistant_agent
from adk_answering_agent.settings import BOT_RESPONSE_LABEL
from adk_answering_agent.settings import IS_INTERACTIVE
from adk_answering_agent.settings import LLM_MODEL_NAME
from adk_answering_agent.settings import OWNER
from adk_answering_agent.settings import REPO
from adk_answering_agent.settings import VERTEXAI_DATASTORE_ID
Expand All @@ -38,7 +39,7 @@


root_agent = Agent(
model="gemini-2.5-pro",
model=LLM_MODEL_NAME,
name="adk_answering_agent",
description="Answer questions about ADK repo.",
instruction=f"""
Expand Down
1 change: 1 addition & 0 deletions contributing/samples/adk_answering_agent/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

OWNER = os.getenv("OWNER", "google")
REPO = os.getenv("REPO", "adk-python")
LLM_MODEL_NAME = os.getenv("LLM_MODEL_NAME", "gemini-2.5-flash")
BOT_RESPONSE_LABEL = os.getenv("BOT_RESPONSE_LABEL", "bot responded")
DISCUSSION_NUMBER = os.getenv("DISCUSSION_NUMBER")

Expand Down
3 changes: 2 additions & 1 deletion contributing/samples/adk_issue_formatting_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

from adk_issue_formatting_agent.settings import GITHUB_BASE_URL
from adk_issue_formatting_agent.settings import IS_INTERACTIVE
from adk_issue_formatting_agent.settings import LLM_MODEL_NAME
from adk_issue_formatting_agent.settings import OWNER
from adk_issue_formatting_agent.settings import REPO
from adk_issue_formatting_agent.utils import error_response
Expand Down Expand Up @@ -132,7 +133,7 @@ def list_comments_on_issue(issue_number: int) -> dict[str, any]:


root_agent = Agent(
model="gemini-2.5-pro",
model=LLM_MODEL_NAME,
name="adk_issue_formatting_assistant",
description="Check ADK issue format and content.",
instruction=f"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

OWNER = os.getenv("OWNER", "google")
REPO = os.getenv("REPO", "adk-python")
LLM_MODEL_NAME = os.getenv("LLM_MODEL_NAME", "gemini-2.5-flash")
EVENT_NAME = os.getenv("EVENT_NAME")
ISSUE_NUMBER = os.getenv("ISSUE_NUMBER")
ISSUE_COUNT_TO_PROCESS = os.getenv("ISSUE_COUNT_TO_PROCESS")
Expand Down
3 changes: 2 additions & 1 deletion contributing/samples/adk_pr_triaging_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

from adk_pr_triaging_agent.settings import GITHUB_BASE_URL
from adk_pr_triaging_agent.settings import IS_INTERACTIVE
from adk_pr_triaging_agent.settings import LLM_MODEL_NAME
from adk_pr_triaging_agent.settings import OWNER
from adk_pr_triaging_agent.settings import REPO
from adk_pr_triaging_agent.utils import error_response
Expand Down Expand Up @@ -220,7 +221,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:


root_agent = Agent(
model="gemini-2.5-pro",
model=LLM_MODEL_NAME,
name="adk_pr_triaging_assistant",
description="Triage ADK pull requests.",
instruction=f"""
Expand Down
1 change: 1 addition & 0 deletions contributing/samples/adk_pr_triaging_agent/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

OWNER = os.getenv("OWNER", "google")
REPO = os.getenv("REPO", "adk-python")
LLM_MODEL_NAME = os.getenv("LLM_MODEL_NAME", "gemini-2.5-flash")
PULL_REQUEST_NUMBER = os.getenv("PULL_REQUEST_NUMBER")

IS_INTERACTIVE = os.environ.get("INTERACTIVE", "1").lower() in ["true", "1"]
3 changes: 2 additions & 1 deletion contributing/samples/adk_triaging_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

from adk_triaging_agent.settings import GITHUB_BASE_URL
from adk_triaging_agent.settings import IS_INTERACTIVE
from adk_triaging_agent.settings import LLM_MODEL_NAME
from adk_triaging_agent.settings import OWNER
from adk_triaging_agent.settings import REPO
from adk_triaging_agent.utils import error_response
Expand Down Expand Up @@ -244,7 +245,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:


root_agent = Agent(
model="gemini-2.5-pro",
model=LLM_MODEL_NAME,
name="adk_triaging_assistant",
description="Triage ADK issues.",
instruction=f"""
Expand Down
1 change: 1 addition & 0 deletions contributing/samples/adk_triaging_agent/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

OWNER = os.getenv("OWNER", "google")
REPO = os.getenv("REPO", "adk-python")
LLM_MODEL_NAME = os.getenv("LLM_MODEL_NAME", "gemini-2.5-flash")
EVENT_NAME = os.getenv("EVENT_NAME")
ISSUE_NUMBER = os.getenv("ISSUE_NUMBER")
ISSUE_TITLE = os.getenv("ISSUE_TITLE")
Expand Down
Loading