Skip to content

Commit aa12336

Browse files
jsorefcopybara-github
authored andcommitted
chore: Fix spelling
Merge #2447 This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling) The misspellings have been reported at https://github.com/jsoref/adk-python/actions/runs/16840838898/attempts/1#summary-47711379253 The action reports that the changes in this PR would make it happy: https://github.com/jsoref/adk-python/actions/runs/16840839269/attempts/1#summary-47711380479 Note: while I use tooling to identify errors, the tooling doesn't _actually_ provide the corrections, I'm picking them on my own. I'm a human, and I may make mistakes. I've included a couple of changes to make CI happy. Personally, I object to CI being in a state of "random drive by person who adds a blank line in the middle of a file must fix all the preexisting bugs in the file", but that appears to be the state for this repository. COPYBARA_INTEGRATE_REVIEW=#2447 from jsoref:spelling d85398e PiperOrigin-RevId: 827629615
1 parent 8dff850 commit aa12336

File tree

111 files changed

+228
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+228
-235
lines changed

.github/workflows/check-file-contents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Check for import from cli package in certain changed Python files
9090
run: |
9191
git fetch origin ${{ github.base_ref }}
92-
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)
92+
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)
9393
if [ -n "$CHANGED_FILES" ]; then
9494
echo "Changed Python files to check:"
9595
echo "$CHANGED_FILES"

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ isort --check src/
236236

237237
### In ADK source
238238

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

241241
#### Use relative imports (Required)
242242

CHANGELOG.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
440440

441441
### Improvements
442442

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

501501
* [Core]Add agent card builder ([18f5bea](https://github.com/google/adk-python/commit/18f5bea411b3b76474ff31bfb2f62742825b45e5))
502-
* [Core]Add an to_a2a util to convert adk agent to A2A ASGI application ([a77d689](https://github.com/google/adk-python/commit/a77d68964a1c6b7659d6117d57fa59e43399e0c2))
502+
* [Core]Add a to_a2a util to convert adk agent to A2A ASGI application ([a77d689](https://github.com/google/adk-python/commit/a77d68964a1c6b7659d6117d57fa59e43399e0c2))
503503
* [Core]Add camel case converter for agents ([0e173d7](https://github.com/google/adk-python/commit/0e173d736334f8c6c171b3144ac6ee5b7125c846))
504504
* [Evals]Use LocalEvalService to run all evals in cli and web ([d1f182e](https://github.com/google/adk-python/commit/d1f182e8e68c4a5a4141592f3f6d2ceeada78887))
505505
* [Evals]Enable FinalResponseMatchV2 metric as an experiment ([36e45cd](https://github.com/google/adk-python/commit/36e45cdab3bbfb653eee3f9ed875b59bcd525ea1))
506506
* [Models]Add support for `model-optimizer-*` family of models in vertex ([ffe2bdb](https://github.com/google/adk-python/commit/ffe2bdbe4c2ea86cc7924eb36e8e3bb5528c0016))
507507
* [Services]Added a sample for History Management ([67284fc](https://github.com/google/adk-python/commit/67284fc46667b8c2946762bc9234a8453d48a43c))
508-
* [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
509-
35fe4104ca1298dbfcf))
508+
* [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))
510509
* [Tools]Add ComputerUseToolset ([083dcb4](https://github.com/google/adk-python/commit/083dcb44650eb0e6b70219ede731f2fa78ea7d28))
511510
* [Tools]Allow toolset to process llm_request before tools returned by it ([3643b4a](https://github.com/google/adk-python/commit/3643b4ae196fd9e38e52d5dc9d1cd43ea0733d36))
512511
* [Tools]Support input/output schema by fully-qualified code reference ([dfee06a](https://github.com/google/adk-python/commit/dfee06ac067ea909251d6fb016f8331065d430e9))
@@ -619,7 +618,7 @@ with Bigtable for building AI Agent applications(experimental feature) ([a953807
619618

620619
### Documentation
621620

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

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

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

847846

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

980979
### Miscellaneous Chores
981-
* Docstring improvements, typo fixings, github action to enfore code styles on formatting and imports, etc.
980+
* Docstring improvements, typo fixings, github action to enforce code styles on formatting and imports, etc.
982981

983982
## 0.3.0
984983

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

10181017
### ⚠ BREAKING CHANGES
10191018

1020-
* Fix typo in method name in `Event`: has_trailing_code_exeuction_result --> has_trailing_code_execution_result.
1019+
* Fix typo in method name in `Event`: has_trailing_code_execution_result --> has_trailing_code_execution_result.
10211020

10221021
### Features
10231022

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

10481047
### Miscellaneous Chores
10491048

1050-
* Adds unit tests in Github action.
1049+
* Adds unit tests in GitHub action.
10511050
* Improves test coverage.
10521051
* Various typo fixes.
10531052

contributing/samples/a2a_auth/remote_a2a/bigquery_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
Use the provided tools to conduct various operations on users' data in Google BigQuery.
4747
4848
Scenario 1:
49-
The user wants to query their biguqery datasets
49+
The user wants to query their bigquery datasets
5050
Use bigquery_datasets_list to query user's datasets
5151
5252
Scenario 2:

contributing/samples/a2a_human_in_loop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Agent: ✅ Great news! Your reimbursement has been approved by the manager. Proc
9999
The human-in-the-loop process follows this pattern:
100100

101101
1. **Initial Call**: Root agent delegates approval request to remote approval agent for amounts >$100
102-
2. **Pending Response**: Remote approval agent returns immediate response with `status: "pending"` and ticket ID and serface the approval request to root agent
102+
2. **Pending Response**: Remote approval agent returns immediate response with `status: "pending"` and ticket ID and surface the approval request to root agent
103103
3. **Agent Acknowledgment**: Root agent informs user about pending approval status
104104
4. **Human Interaction**: Human manager interacts with root agent to review and approve/reject the request
105105
5. **Updated Response**: Root agent receives updated tool response with approval decision and send it to remote agent

contributing/samples/adk_answering_agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ The following environment variables are required to upload the docs to update th
116116
* `ADK_DOCS_ROOT_PATH=YOUR_ADK_DOCS_ROOT_PATH`: **(Required)** Path to the root of the downloaded adk-docs repo.
117117
* `ADK_PYTHON_ROOT_PATH=YOUR_ADK_PYTHON_ROOT_PATH`: **(Required)** Path to the root of the downloaded adk-python repo.
118118

119-
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.
119+
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.

contributing/samples/adk_answering_agent/upload_docs_to_vertex_ai_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def upload_directory_to_gcs(
130130
)
131131
return False
132132

133-
print(f"Sucessfully uploaded {file_count} files to GCS.")
133+
print(f"Successfully uploaded {file_count} files to GCS.")
134134
return True
135135

136136

@@ -148,7 +148,7 @@ def import_from_gcs_to_vertex_ai(
148148
# parent has the format of
149149
# "projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{datastore_id}/branches/default_branch"
150150
parent=full_datastore_id + "/branches/default_branch",
151-
# Specify the GCS source and use "content" for unstructed data.
151+
# Specify the GCS source and use "content" for unstructured data.
152152
gcs_source=discoveryengine.GcsSource(
153153
input_uris=[gcs_uri], data_schema="content"
154154
),

contributing/samples/adk_answering_agent/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def convert_gcs_to_https(gcs_uri: str) -> Optional[str]:
143143
if _check_url_exists(potential_url):
144144
return potential_url
145145
else:
146-
# If it doesn't exist, fallback to the regular github url
146+
# If it doesn't exist, fall back to the regular github url
147147
return _generate_github_url(prefix, relative_path)
148148

149149
# Convert the links for other cases, e.g. adk-python

contributing/samples/adk_issue_formatting_agent/agent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
def list_open_issues(issue_count: int) -> dict[str, Any]:
48-
"""List most recent `issue_count` numer of open issues in the repo.
48+
"""List most recent `issue_count` number of open issues in the repo.
4949
5050
Args:
5151
issue_count: number of issues to return
@@ -75,7 +75,7 @@ def get_issue(issue_number: int) -> dict[str, Any]:
7575
"""Get the details of the specified issue number.
7676
7777
Args:
78-
issue_number: issue number of the Github issue.
78+
issue_number: issue number of the GitHub issue.
7979
8080
Returns:
8181
The status of this request, with the issue details when successful.
@@ -92,7 +92,7 @@ def add_comment_to_issue(issue_number: int, comment: str) -> dict[str, any]:
9292
"""Add the specified comment to the given issue number.
9393
9494
Args:
95-
issue_number: issue number of the Github issue
95+
issue_number: issue number of the GitHub issue
9696
comment: comment to add
9797
9898
Returns:
@@ -116,7 +116,7 @@ def list_comments_on_issue(issue_number: int) -> dict[str, any]:
116116
"""List all comments on the given issue number.
117117
118118
Args:
119-
issue_number: issue number of the Github issue
119+
issue_number: issue number of the GitHub issue
120120
121121
Returns:
122122
The the status of this request, with the list of comments when successful.

contributing/samples/adk_pr_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def get_github_pr_info_http(pr_number: int) -> str | None:
125125
system_prompt = """
126126
You are a helpful assistant to generate reasonable descriptions for pull requests for software engineers.
127127
128-
The descritions should not be too short (e.g.: less than 3 words), or too long (e.g.: more than 30 words).
128+
The descriptions should not be too short (e.g.: less than 3 words), or too long (e.g.: more than 30 words).
129129
130130
The generated description should start with `chore`, `docs`, `feat`, `fix`, `test`, or `refactor`.
131131
`feat` stands for a new feature.

0 commit comments

Comments
 (0)