Skip to content

Commit 51dee43

Browse files
Lê Nam Khánhcopybara-github
authored andcommitted
docs: fix typos in some files
Merge #3444 This PR fixes typos in the file file using codespell. COPYBARA_INTEGRATE_REVIEW=#3444 from khanhkhanhlele:Fix/typos/20251107165249 e9629a8 PiperOrigin-RevId: 829516217
1 parent e0e7625 commit 51dee43

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

contributing/samples/adk_documentation/adk_docs_updater/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
- **Avoid trivial code sample changes:** Update code samples only when adding or modifying functionality. Do not reformat code samples, change variable names, or change code syntax unless you are specifically directed to make those updates.
108108
109109
# 5. Output
110-
Present the followings in an easy to read format as the final output to the user.
110+
Present the following in an easy to read format as the final output to the user.
111111
- The actions you took and the reasoning
112112
- The summary of the pull request created
113113
""",

contributing/samples/adk_documentation/adk_release_analyzer/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
- If a change in the codebase can be covered by the auto-generated API reference docs, you should just recommend to update the API reference docs (i.e. regenerate the API reference docs) instead of the other human-written ADK docs.
123123
124124
# 5. Output
125-
Present the followings in an easy to read format as the final output to the user.
125+
Present the following in an easy to read format as the final output to the user.
126126
- The actions you took and the reasoning
127127
- The summary of the differences found
128128
""",

contributing/samples/adk_pr_triaging_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def add_comment_to_pr(pr_number: int, comment: str) -> dict[str, Any]:
287287
- If it's following the guidelines, recommend or add a label to the PR.
288288
289289
# 5. Output
290-
Present the followings in an easy to read format highlighting PR number and your label.
290+
Present the following in an easy to read format highlighting PR number and your label.
291291
- The PR summary in a few sentence
292292
- The label you recommended or added with the justification
293293
- The comment you recommended or added to the PR with the justification

contributing/samples/adk_triaging_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def change_issue_type(issue_number: int, issue_type: str) -> dict[str, Any]:
231231
- Mention the assigned owner when a label maps to one.
232232
- If no label is applied, clearly state why.
233233
234-
Present the followings in an easy to read format highlighting issue number and your label.
234+
Present the following in an easy to read format highlighting issue number and your label.
235235
- the issue summary in a few sentence
236236
- your label recommendation and justification
237237
- the owner of the label if you assign the issue to an owner

contributing/samples/authn-adk-all-in-one/hotel_booker_app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def is_token_valid(token: str):
120120
# Also you could have verify_aud and verify_iss as False
121121
# But when they are true issuer and audience are needed in the jwt.decode call
122122
# they are checked against the values from the token
123-
# idealy token validation should also check whether the API being called is part of
123+
# ideally token validation should also check whether the API being called is part of
124124
# audience so for example localhost:8081/api should cover localhost:8081/api/hotels
125125
# but should not cover localhost:8000/admin
126126
# so this middleware (decorator - is_token_valid, can check the request url and do that check, but we are

contributing/samples/gepa/voter_agent/gepa.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"source": [
152152
"# Define our Vote Taker Agent\n",
153153
"\n",
154-
"This agent is an ADK `LLMAgent` using a Gemini inference end-point. It can interact with tools to answer a user's request over multiple turns. We provide this agent with an initial set of intructions.\n",
154+
"This agent is an ADK `LLMAgent` using a Gemini inference end-point. It can interact with tools to answer a user's request over multiple turns. We provide this agent with an initial set of instructions.\n",
155155
"\n",
156156
"This agent collects and validates audience votes. In particular it:\n",
157157
"1. Receives votes via REST API\n",
@@ -413,7 +413,7 @@
413413
}
414414
],
415415
"source": [
416-
"#@title Define our voting agent and vizualize a trace\n",
416+
"#@title Define our voting agent and visualize a trace\n",
417417
"\n",
418418
"import asyncio\n",
419419
"import nest_asyncio\n",
@@ -525,7 +525,7 @@
525525
"\n",
526526
"Let's evaluate our agent. Presence and exclusion of PII can be identified with a rubric-based autorater. In this colab we will use the following PII filtering rubric that fits our use-case well. In particular it measures:\n",
527527
"- the exclusion of PII\n",
528-
"- sucessfully registering votes\n",
528+
"- successfully registering votes\n",
529529
"\n",
530530
"We will use the following rubric and auto-rater to evaluate our agent and update our agent instructions with GEPA."
531531
]
@@ -1015,7 +1015,7 @@
10151015
"class AgentFactory(Protocol):\n",
10161016
"\n",
10171017
" def __call__(instructions: str) -> base_agent.BaseAgent:\n",
1018-
" \"\"\"Initialzes an ADK agent from provided instructions.\"\"\"\n",
1018+
" \"\"\"Initializes an ADK agent from provided instructions.\"\"\"\n",
10191019
" ...\n",
10201020
"\n",
10211021
"\n",

0 commit comments

Comments
 (0)