Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
90e1a49
ci: Fix test to honor existing repository code
jsoref Aug 8, 2025
d6f36ad
chore: Add from __future__ import annotations
jsoref Aug 8, 2025
8ec64fd
chore: Fix link - BigQuery first-party tools
jsoref Aug 8, 2025
4c7c5f9
chore: Fix link - bidirectional streaming
jsoref Aug 8, 2025
d4b4737
chore: Fix link - 2e77804
jsoref Aug 8, 2025
10f3789
chore: Fix spelling - , the
jsoref Aug 8, 2025
b615ae4
chore: Fix spelling - ; otherwise,
jsoref Aug 8, 2025
3e9a924
chore: Fix spelling - a missing input
jsoref Aug 8, 2025
f22acbe
chore: Fix spelling - a
jsoref Aug 8, 2025
f141dcd
chore: Fix spelling - accordingly
jsoref Aug 8, 2025
2081740
chore: Fix spelling - across
jsoref Aug 8, 2025
90f87f0
chore: Fix spelling - actual
jsoref Aug 8, 2025
b89728d
chore: Fix spelling - add
jsoref Aug 8, 2025
bd371cd
chore: Fix spelling - all the
jsoref Aug 8, 2025
af97bda
chore: Fix spelling - answer
jsoref Aug 8, 2025
1c261ea
chore: Fix spelling - appended
jsoref Aug 8, 2025
601415f
chore: Fix spelling - arg
jsoref Aug 8, 2025
6ab86dc
chore: Fix spelling - args
jsoref Aug 8, 2025
e6e7b69
chore: Fix spelling - async
jsoref Aug 8, 2025
3289e3e
chore: Fix spelling - at
jsoref Aug 8, 2025
277deab
chore: Fix spelling - attractions
jsoref Aug 8, 2025
0a163cc
chore: Fix spelling - auth
jsoref Aug 8, 2025
494b94e
chore: Fix spelling - between
jsoref Aug 8, 2025
7b3cc6f
chore: Fix spelling - bigquery
jsoref Aug 8, 2025
3718f04
chore: Fix spelling - cannot
jsoref Aug 8, 2025
f87847c
chore: Fix spelling - case-insensitive
jsoref Aug 8, 2025
436a308
chore: Fix spelling - case-sensitive
jsoref Aug 8, 2025
19cc90f
chore: Fix spelling - constructor
jsoref Aug 8, 2025
c53f839
chore: Fix spelling - contributor
jsoref Aug 8, 2025
b75f646
chore: Fix spelling - corresponding
jsoref Aug 8, 2025
b81adba
chore: Fix spelling - credential
jsoref Aug 8, 2025
d9568f9
chore: Fix spelling - criteria
jsoref Aug 8, 2025
22c8d59
chore: Fix spelling - current
jsoref Aug 8, 2025
b419e36
chore: Fix spelling - data
jsoref Aug 8, 2025
fe4752d
chore: Fix spelling - deprecated
jsoref Aug 8, 2025
ab4beaf
chore: Fix spelling - descriptions
jsoref Aug 8, 2025
c8df3d0
chore: Fix spelling - different
jsoref Aug 8, 2025
3c7a417
chore: Fix spelling - directory
jsoref Aug 8, 2025
1185e30
chore: Fix spelling - doesn't
jsoref Aug 8, 2025
58eacc7
chore: Fix spelling - enforce
jsoref Aug 8, 2025
e41d1bc
chore: Fix spelling - evaluation
jsoref Aug 8, 2025
b8fe86a
chore: Fix spelling - example
jsoref Aug 8, 2025
72865cf
chore: Fix spelling - exception
jsoref Aug 8, 2025
8ac9547
chore: Fix spelling - exchange
jsoref Aug 8, 2025
7ad9cd4
chore: Fix spelling - execution
jsoref Aug 8, 2025
b434a45
chore: Fix spelling - externally
jsoref Aug 8, 2025
b56eb72
chore: Fix spelling - extract
jsoref Aug 8, 2025
c89dee5
chore: Fix spelling - fall back
jsoref Aug 8, 2025
6bf426a
chore: Fix spelling - format
jsoref Aug 8, 2025
26e4218
chore: Fix spelling - function
jsoref Aug 8, 2025
0c57f32
chore: Fix spelling - generate
jsoref Aug 8, 2025
87ce2e6
chore: Fix spelling - github
jsoref Aug 8, 2025
8c002ab
chore: Fix spelling - global
jsoref Aug 8, 2025
86cc063
chore: Fix spelling - guidance
jsoref Aug 8, 2025
086aca8
chore: Fix spelling - handle
jsoref Aug 8, 2025
4f35a58
chore: Fix spelling - id
jsoref Aug 8, 2025
34230b3
chore: Fix spelling - implements
jsoref Aug 8, 2025
0c666f6
chore: Fix spelling - increased
jsoref Aug 8, 2025
70a1ce2
chore: Fix spelling - initial
jsoref Aug 8, 2025
e538a2a
chore: Fix spelling - initialize
jsoref Aug 8, 2025
bdeaf5f
chore: Fix spelling - inline
jsoref Aug 8, 2025
9321a7f
chore: Fix spelling - into
jsoref Aug 8, 2025
b386557
chore: Fix spelling - jira
jsoref Aug 8, 2025
0e2670b
chore: Fix spelling - langchain
jsoref Aug 8, 2025
003a5f4
chore: Fix spelling - list
jsoref Aug 8, 2025
160c9a9
chore: Fix spelling - litellm
jsoref Aug 8, 2025
d9b278a
chore: Fix spelling - manage
jsoref Aug 8, 2025
f50e83d
chore: Fix spelling - maximum
jsoref Aug 8, 2025
211d687
chore: Fix spelling - metrics
jsoref Aug 8, 2025
9893756
chore: Fix spelling - model's template
jsoref Aug 8, 2025
099fc73
chore: Fix spelling - neither-nor
jsoref Aug 8, 2025
a49a9f4
chore: Fix spelling - nonexistent
jsoref Aug 8, 2025
c5ef18a
chore: Fix spelling - number
jsoref Aug 8, 2025
8d17dea
chore: Fix spelling - own
jsoref Aug 8, 2025
cac4c26
chore: Fix spelling - participate
jsoref Aug 8, 2025
90dbc20
chore: Fix spelling - permanent
jsoref Aug 8, 2025
c40cd4f
chore: Fix spelling - persisting
jsoref Aug 8, 2025
2f3f625
chore: Fix spelling - preexisting
jsoref Aug 8, 2025
1c11bd3
chore: Fix spelling - prepopulated
jsoref Aug 8, 2025
1f593cb
chore: Fix spelling - properties
jsoref Aug 8, 2025
7c6a61a
chore: Fix spelling - pydantic
jsoref Aug 8, 2025
0a31efa
chore: Fix spelling - relevant
jsoref Aug 8, 2025
528e3e6
chore: Fix spelling - repetitive
jsoref Aug 8, 2025
b870bac
chore: Fix spelling - response
jsoref Aug 8, 2025
31588dc
chore: Fix spelling - responses
jsoref Aug 8, 2025
81277d1
chore: Fix spelling - results
jsoref Aug 8, 2025
cc1e37e
chore: Fix spelling - score
jsoref Aug 8, 2025
43e6653
chore: Fix spelling - search
jsoref Aug 8, 2025
2fdc2a2
chore: Fix spelling - service
jsoref Aug 8, 2025
cf48ba6
chore: Fix spelling - spec
jsoref Aug 8, 2025
66b5881
chore: Fix spelling - successfully
jsoref Aug 8, 2025
a9561f3
chore: Fix spelling - surface
jsoref Aug 8, 2025
8a6002d
chore: Fix spelling - temporary
jsoref Aug 8, 2025
97f8ade
chore: Fix spelling - that the
jsoref Aug 8, 2025
d1f7678
chore: Fix spelling - the module
jsoref Aug 8, 2025
4a1d185
chore: Fix spelling - the
jsoref Aug 8, 2025
9d08645
chore: Fix spelling - there are
jsoref Aug 8, 2025
d94e430
chore: Fix spelling - transferred
jsoref Aug 8, 2025
cfd8f81
chore: Fix spelling - unstructured
jsoref Aug 8, 2025
d85398e
chore: Fix spelling - weather
jsoref Aug 8, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/check-file-contents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Check for import from cli package in certain changed Python files
run: |
git fetch origin ${{ github.base_ref }}
CHANGED_FILES=$(git diff --diff-filter=ACMR --name-only origin/${{ github.base_ref }}...HEAD | grep -E '\.py$' | grep -v -E 'cli/.*|tests/.*|contributing/samples/' || true)
CHANGED_FILES=$(git diff --diff-filter=ACMR --name-only origin/${{ github.base_ref }}...HEAD | grep -E '\.py$' | grep -v -E 'cli/.*|src/google/adk/tools/apihub_tool/apihub_toolset.py|tests/.*|contributing/samples/' || true)
if [ -n "$CHANGED_FILES" ]; then
echo "Changed Python files to check:"
echo "$CHANGED_FILES"
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ isort --check src/

### In ADK source

Below styles applies to the ADK source code (under `src/` folder of the Github repo).
Below styles applies to the ADK source code (under `src/` folder of the GitHub repo).

#### Use relative imports (Required)

Expand Down
19 changes: 9 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807

### Improvements

* Add Github workflow config for the ADK Answering agent ([8dc0c94](https://github.com/google/adk-python/commit/8dc0c949afb9024738ff7ac1b2c19282175c3200))
* Add GitHub workflow config for the ADK Answering agent ([8dc0c94](https://github.com/google/adk-python/commit/8dc0c949afb9024738ff7ac1b2c19282175c3200))
* Import AGENT_CARD_WELL_KNOWN_PATH from adk instead of from a2a directly ([37dae9b](https://github.com/google/adk-python/commit/37dae9b631db5060770b66fce0e25cf0ffb56948))
* Make `LlmRequest.LiveConnectConfig` field default to a factory ([74589a1](https://github.com/google/adk-python/commit/74589a1db7df65e319d1ad2f0676ee0cf5d6ec1d))
* Update the prompt to make the ADK Answering Agent more objective ([2833030](https://github.com/google/adk-python/commit/283303032a174d51b8d72f14df83c794d66cb605))
Expand Down Expand Up @@ -499,14 +499,13 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
### Features

* [Core]Add agent card builder ([18f5bea](https://github.com/google/adk-python/commit/18f5bea411b3b76474ff31bfb2f62742825b45e5))
* [Core]Add an to_a2a util to convert adk agent to A2A ASGI application ([a77d689](https://github.com/google/adk-python/commit/a77d68964a1c6b7659d6117d57fa59e43399e0c2))
* [Core]Add a to_a2a util to convert adk agent to A2A ASGI application ([a77d689](https://github.com/google/adk-python/commit/a77d68964a1c6b7659d6117d57fa59e43399e0c2))
* [Core]Add camel case converter for agents ([0e173d7](https://github.com/google/adk-python/commit/0e173d736334f8c6c171b3144ac6ee5b7125c846))
* [Evals]Use LocalEvalService to run all evals in cli and web ([d1f182e](https://github.com/google/adk-python/commit/d1f182e8e68c4a5a4141592f3f6d2ceeada78887))
* [Evals]Enable FinalResponseMatchV2 metric as an experiment ([36e45cd](https://github.com/google/adk-python/commit/36e45cdab3bbfb653eee3f9ed875b59bcd525ea1))
* [Models]Add support for `model-optimizer-*` family of models in vertex ([ffe2bdb](https://github.com/google/adk-python/commit/ffe2bdbe4c2ea86cc7924eb36e8e3bb5528c0016))
* [Services]Added a sample for History Management ([67284fc](https://github.com/google/adk-python/commit/67284fc46667b8c2946762bc9234a8453d48a43c))
* [Services]Support passing fully qualified agent engine resource name when constructing session service and memory service ([2e77804](https://github.com/google/adk-python/commit/2e778049d0a675e458f4e
35fe4104ca1298dbfcf))
* [Services]Support passing fully qualified agent engine resource name when constructing session service and memory service ([2e77804](https://github.com/google/adk-python/commit/2e778049d0a675e458f4e35fe4104ca1298dbfcf))
* [Tools]Add ComputerUseToolset ([083dcb4](https://github.com/google/adk-python/commit/083dcb44650eb0e6b70219ede731f2fa78ea7d28))
* [Tools]Allow toolset to process llm_request before tools returned by it ([3643b4a](https://github.com/google/adk-python/commit/3643b4ae196fd9e38e52d5dc9d1cd43ea0733d36))
* [Tools]Support input/output schema by fully-qualified code reference ([dfee06a](https://github.com/google/adk-python/commit/dfee06ac067ea909251d6fb016f8331065d430e9))
Expand Down Expand Up @@ -619,7 +618,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807

### Documentation

* Update the a2a exmaple link in README.md [d0fdfb8](https://github.com/google/adk-python/commit/d0fdfb8c8e2e32801999c81de8d8ed0be3f88e76)
* Update the a2a example link in README.md [d0fdfb8](https://github.com/google/adk-python/commit/d0fdfb8c8e2e32801999c81de8d8ed0be3f88e76)
* Adds AGENTS.md to provide relevant project context for the Gemini CLI [37108be](https://github.com/google/adk-python/commit/37108be8557e011f321de76683835448213f8515)
* Update CONTRIBUTING.md [ffa9b36](https://github.com/google/adk-python/commit/ffa9b361db615ae365ba62c09a8f4226fb761551)
* Add adk project overview and architecture [28d0ea8](https://github.com/google/adk-python/commit/28d0ea876f2f8de952f1eccbc788e98e39f50cf5)
Expand Down Expand Up @@ -814,7 +813,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
* Fix typos in README for sample bigquery_agent and oauth_calendar_agent ([9bdd813](https://github.com/google/adk-python/commit/9bdd813be15935af5c5d2a6982a2391a640cab23))
* Make tool_call one span for telemetry and renamed to execute_tool ([999a7fe](https://github.com/google/adk-python/commit/999a7fe69d511b1401b295d23ab3c2f40bccdc6f))
* Use media type in chat window. Remove isArtifactImage and isArtifactAudio reference ([1452dac](https://github.com/google/adk-python/commit/1452dacfeb6b9970284e1ddeee6c4f3cb56781f8))
* Set output_schema correctly for LiteLllm ([6157db7](https://github.com/google/adk-python/commit/6157db77f2fba4a44d075b51c83bff844027a147))
* Set output_schema correctly for LiteLlm ([6157db7](https://github.com/google/adk-python/commit/6157db77f2fba4a44d075b51c83bff844027a147))
* Update pending event dialog style ([1db601c](https://github.com/google/adk-python/commit/1db601c4bd90467b97a2f26fe9d90d665eb3c740))
* Remove the gap between event holder and image ([63822c3](https://github.com/google/adk-python/commit/63822c3fa8b0bdce2527bd0d909c038e2b66dd98))

Expand Down Expand Up @@ -842,7 +841,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
## 1.1.1

### Features
* Add BigQuery first-party tools. See [here](https://github.com/google/adk-python/commit/d6c6bb4b2489a8b7a4713e4747c30d6df0c07961) for more details.
* Add [BigQuery first-party tools](https://github.com/google/adk-python/commit/d6c6bb4b2489a8b7a4713e4747c30d6df0c07961).


## 1.1.0
Expand Down Expand Up @@ -978,7 +977,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
* Fix google search reading undefined for `renderedContent`.

### Miscellaneous Chores
* Docstring improvements, typo fixings, github action to enfore code styles on formatting and imports, etc.
* Docstring improvements, typo fixings, github action to enforce code styles on formatting and imports, etc.

## 0.3.0

Expand Down Expand Up @@ -1017,7 +1016,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807

### ⚠ BREAKING CHANGES

* Fix typo in method name in `Event`: has_trailing_code_exeuction_result --> has_trailing_code_execution_result.
* Fix typo in method name in `Event`: has_trailing_code_execution_result --> has_trailing_code_execution_result.

### Features

Expand Down Expand Up @@ -1047,7 +1046,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807

### Miscellaneous Chores

* Adds unit tests in Github action.
* Adds unit tests in GitHub action.
* Improves test coverage.
* Various typo fixes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Use the provided tools to conduct various operations on users' data in Google BigQuery.
Scenario 1:
The user wants to query their biguqery datasets
The user wants to query their bigquery datasets
Use bigquery_datasets_list to query user's datasets
Scenario 2:
Expand Down
2 changes: 1 addition & 1 deletion contributing/samples/a2a_human_in_loop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Agent: ✅ Great news! Your reimbursement has been approved by the manager. Proc
The human-in-the-loop process follows this pattern:

1. **Initial Call**: Root agent delegates approval request to remote approval agent for amounts >$100
2. **Pending Response**: Remote approval agent returns immediate response with `status: "pending"` and ticket ID and serface the approval request to root agent
2. **Pending Response**: Remote approval agent returns immediate response with `status: "pending"` and ticket ID and surface the approval request to root agent
3. **Agent Acknowledgment**: Root agent informs user about pending approval status
4. **Human Interaction**: Human manager interacts with root agent to review and approve/reject the request
5. **Updated Response**: Root agent receives updated tool response with approval decision and send it to remote agent
Expand Down
2 changes: 1 addition & 1 deletion contributing/samples/adk_answering_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ The following environment variables are required to upload the docs to update th
* `ADK_DOCS_ROOT_PATH=YOUR_ADK_DOCS_ROOT_PATH`: **(Required)** Path to the root of the downloaded adk-docs repo.
* `ADK_PYTHON_ROOT_PATH=YOUR_ADK_PYTHON_ROOT_PATH`: **(Required)** Path to the root of the downloaded adk-python repo.

For local execution in interactive mode, you can place these variables in a `.env` file in the project's root directory. For the GitHub workflow, they should be configured as repository secrets.
For local execution in interactive mode, you can place these variables in a `.env` file in the project's root directory. For the GitHub workflow, they should be configured as repository secrets.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def upload_directory_to_gcs(
)
return False

print(f"Sucessfully uploaded {file_count} files to GCS.")
print(f"Successfully uploaded {file_count} files to GCS.")
return True


Expand All @@ -148,7 +148,7 @@ def import_from_gcs_to_vertex_ai(
# parent has the format of
# "projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{datastore_id}/branches/default_branch"
parent=full_datastore_id + "/branches/default_branch",
# Specify the GCS source and use "content" for unstructed data.
# Specify the GCS source and use "content" for unstructured data.
gcs_source=discoveryengine.GcsSource(
input_uris=[gcs_uri], data_schema="content"
),
Expand Down
2 changes: 1 addition & 1 deletion contributing/samples/adk_answering_agent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def convert_gcs_to_https(gcs_uri: str) -> Optional[str]:
if _check_url_exists(potential_url):
return potential_url
else:
# If it doesn't exist, fallback to the regular github url
# If it doesn't exist, fall back to the regular github url
return _generate_github_url(prefix, relative_path)

# Convert the links for other cases, e.g. adk-python
Expand Down
8 changes: 4 additions & 4 deletions contributing/samples/adk_issue_formatting_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


def list_open_issues(issue_count: int) -> dict[str, Any]:
"""List most recent `issue_count` numer of open issues in the repo.
"""List most recent `issue_count` number of open issues in the repo.
Args:
issue_count: number of issues to return
Expand Down Expand Up @@ -75,7 +75,7 @@ def get_issue(issue_number: int) -> dict[str, Any]:
"""Get the details of the specified issue number.
Args:
issue_number: issue number of the Github issue.
issue_number: issue number of the GitHub issue.
Returns:
The status of this request, with the issue details when successful.
Expand All @@ -92,7 +92,7 @@ def add_comment_to_issue(issue_number: int, comment: str) -> dict[str, any]:
"""Add the specified comment to the given issue number.
Args:
issue_number: issue number of the Github issue
issue_number: issue number of the GitHub issue
comment: comment to add
Returns:
Expand All @@ -116,7 +116,7 @@ def list_comments_on_issue(issue_number: int) -> dict[str, any]:
"""List all comments on the given issue number.
Args:
issue_number: issue number of the Github issue
issue_number: issue number of the GitHub issue
Returns:
The the status of this request, with the list of comments when successful.
Expand Down
2 changes: 1 addition & 1 deletion contributing/samples/adk_pr_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_github_pr_info_http(pr_number: int) -> str | None:
system_prompt = """
You are a helpful assistant to generate reasonable descriptions for pull requests for software engineers.
The descritions should not be too short (e.g.: less than 3 words), or too long (e.g.: more than 30 words).
The descriptions should not be too short (e.g.: less than 3 words), or too long (e.g.: more than 30 words).
The generated description should start with `chore`, `docs`, `feat`, `fix`, `test`, or `refactor`.
`feat` stands for a new feature.
Expand Down
16 changes: 8 additions & 8 deletions contributing/samples/adk_pr_triaging_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_pull_request_details(pr_number: int) -> str:
"""Get the details of the specified pull request.

Args:
pr_number: number of the Github pull request.
pr_number: number of the GitHub pull request.

Returns:
The status of this request, with the details when successful.
Expand Down Expand Up @@ -162,7 +162,7 @@ def add_label_to_pr(pr_number: int, label: str) -> dict[str, Any]:
"""Adds a specified label on a pull request.

Args:
pr_number: the number of the Github pull request
pr_number: the number of the GitHub pull request
label: the label to add

Returns:
Expand All @@ -175,7 +175,7 @@ def add_label_to_pr(pr_number: int, label: str) -> dict[str, Any]:
f"Error: Label '{label}' is not an allowed label. Will not apply."
)

# Pull Request is a special issue in Github, so we can use issue url for PR.
# Pull Request is a special issue in GitHub, so we can use issue url for PR.
label_url = (
f"{GITHUB_BASE_URL}/repos/{OWNER}/{REPO}/issues/{pr_number}/labels"
)
Expand All @@ -197,15 +197,15 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
"""Add the specified comment to the given PR number.

Args:
pr_number: the number of the Github pull request
pr_number: the number of the GitHub pull request
comment: the comment to add

Returns:
The the status of this request, with the applied comment when successful.
"""
print(f"Attempting to add comment '{comment}' to issue #{pr_number}")

# Pull Request is a special issue in Github, so we can use issue url for PR.
# Pull Request is a special issue in GitHub, so we can use issue url for PR.
url = f"{GITHUB_BASE_URL}/repos/{OWNER}/{REPO}/issues/{pr_number}/comments"
payload = {"body": comment}

Expand All @@ -225,7 +225,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
description="Triage ADK pull requests.",
instruction=f"""
# 1. Identity
You are a Pull Request (PR) triaging bot for the Github {REPO} repo with the owner {OWNER}.
You are a Pull Request (PR) triaging bot for the GitHub {REPO} repo with the owner {OWNER}.

# 2. Responsibilities
Your core responsibility includes:
Expand All @@ -242,7 +242,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
- If it's about session, memory, artifacts services, label it with "services"
- If it's about UI/web, label it with "web"
- If it's related to tools, label it with "tools"
- If it's about agent evalaution, then label it with "eval".
- If it's about agent evaluation, then label it with "eval".
- If it's about streaming/live, label it with "live".
- If it's about model support(non-Gemini, like Litellm, Ollama, OpenAI models), label it with "models".
- If it's about tracing, label it with "tracing".
Expand Down Expand Up @@ -280,7 +280,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
- Call the `get_pull_request_details` tool to get the details of the PR.
- Skip the PR (i.e. do not label or comment) if any of the following is true:
- the PR is closed
- the PR is labeled with "google-contributior"
- the PR is labeled with "google-contributor"
- the PR is already labelled with the above labels (e.g. "documentation", "services", "tools", etc.).
- Check if the PR is following the contribution guidelines.
- If it's not following the guidelines, recommend or add a comment to the PR that points to the contribution guidelines (https://github.com/google/adk-python/blob/main/CONTRIBUTING.md).
Expand Down
10 changes: 5 additions & 5 deletions contributing/samples/adk_triaging_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


def list_unlabeled_issues(issue_count: int) -> dict[str, Any]:
"""List most recent `issue_count` numer of unlabeled issues in the repo.
"""List most recent `issue_count` number of unlabeled issues in the repo.

Args:
issue_count: number of issues to return
Expand Down Expand Up @@ -87,7 +87,7 @@ def add_label_and_owner_to_issue(
"""Add the specified label and owner to the given issue number.

Args:
issue_number: issue number of the Github issue.
issue_number: issue number of the GitHub issue.
label: label to assign

Returns:
Expand Down Expand Up @@ -143,7 +143,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:
"""Change the issue type of the given issue number.

Args:
issue_number: issue number of the Github issue, in string foramt.
issue_number: issue number of the GitHub issue, in string format.
issue_type: issue type to assign

Returns:
Expand All @@ -168,7 +168,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:
name="adk_triaging_assistant",
description="Triage ADK issues.",
instruction=f"""
You are a triaging bot for the Github {REPO} repo with the owner {OWNER}. You will help get issues, and recommend a label.
You are a triaging bot for the GitHub {REPO} repo with the owner {OWNER}. You will help get issues, and recommend a label.
IMPORTANT: {APPROVAL_INSTRUCTION}

Here are the rules for labeling:
Expand All @@ -177,7 +177,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:
- If it's about UI/web, label it with "web"
- If the user is asking about a question, label it with "question"
- If it's related to tools, label it with "tools"
- If it's about agent evalaution, then label it with "eval".
- If it's about agent evaluation, then label it with "eval".
- If it's about streaming/live, label it with "live".
- If it's about model support(non-Gemini, like Litellm, Ollama, OpenAI models), label it with "models".
- If it's about tracing, label it with "tracing".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This sample demonstrates how to use the `ApplicationIntegrationToolset` within a
## Prerequisites

1. **Set up Integration Connection:**
* You need an existing [Integration connection](https://cloud.google.com/integration-connectors/docs/overview) configured to interact with your Jira instance. Follow the [documentation](https://google.github.io/adk-docs/tools/google-cloud-tools/#use-integration-connectors) to provision the Integration Connector in Google Cloud and then use this [documentation](https://cloud.google.com/integration-connectors/docs/connectors/jiracloud/configure) to create an JIRA connection. Note the `Connection Name`, `Project ID`, and `Location` of your connection.
* You need an existing [Integration connection](https://cloud.google.com/integration-connectors/docs/overview) configured to interact with your Jira instance. Follow the [documentation](https://google.github.io/adk-docs/tools/google-cloud-tools/#use-integration-connectors) to provision the Integration Connector in Google Cloud and then use this [documentation](https://cloud.google.com/integration-connectors/docs/connectors/jiracloud/configure) to create an Jira connection. Note the `Connection Name`, `Project ID`, and `Location` of your connection.
*

2. **Configure Environment Variables:**
Expand Down
Loading