docs: fix typos in some files

Merge https://github.com/google/adk-python/pull/3444

This PR fixes typos in the file file using codespell.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/3444 from khanhkhanhlele:Fix/typos/20251107165249 e9629a8c0255ddc0764cb0df7f36ebe61bd6515e
PiperOrigin-RevId: 829516217
This commit is contained in:
Lê Nam Khánh
2025-11-07 11:32:32 -08:00
committed by Copybara-Service
parent e0e762598e
commit 51dee43f08
6 changed files with 9 additions and 9 deletions
@@ -107,7 +107,7 @@ root_agent = Agent(
- **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.
# 5. Output
Present the followings in an easy to read format as the final output to the user.
Present the following in an easy to read format as the final output to the user.
- The actions you took and the reasoning
- The summary of the pull request created
""",
@@ -122,7 +122,7 @@ root_agent = Agent(
- 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.
# 5. Output
Present the followings in an easy to read format as the final output to the user.
Present the following in an easy to read format as the final output to the user.
- The actions you took and the reasoning
- The summary of the differences found
""",
@@ -287,7 +287,7 @@ root_agent = Agent(
- If it's following the guidelines, recommend or add a label to the PR.
# 5. Output
Present the followings in an easy to read format highlighting PR number and your label.
Present the following in an easy to read format highlighting PR number and your label.
- The PR summary in a few sentence
- The label you recommended or added with the justification
- The comment you recommended or added to the PR with the justification
@@ -231,7 +231,7 @@ root_agent = Agent(
- Mention the assigned owner when a label maps to one.
- If no label is applied, clearly state why.
Present the followings in an easy to read format highlighting issue number and your label.
Present the following in an easy to read format highlighting issue number and your label.
- the issue summary in a few sentence
- your label recommendation and justification
- the owner of the label if you assign the issue to an owner
@@ -120,7 +120,7 @@ def is_token_valid(token: str):
# Also you could have verify_aud and verify_iss as False
# But when they are true issuer and audience are needed in the jwt.decode call
# they are checked against the values from the token
# idealy token validation should also check whether the API being called is part of
# ideally token validation should also check whether the API being called is part of
# audience so for example localhost:8081/api should cover localhost:8081/api/hotels
# but should not cover localhost:8000/admin
# so this middleware (decorator - is_token_valid, can check the request url and do that check, but we are
@@ -151,7 +151,7 @@
"source": [
"# Define our Vote Taker Agent\n",
"\n",
"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",
"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",
"\n",
"This agent collects and validates audience votes. In particular it:\n",
"1. Receives votes via REST API\n",
@@ -413,7 +413,7 @@
}
],
"source": [
"#@title Define our voting agent and vizualize a trace\n",
"#@title Define our voting agent and visualize a trace\n",
"\n",
"import asyncio\n",
"import nest_asyncio\n",
@@ -525,7 +525,7 @@
"\n",
"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",
"- the exclusion of PII\n",
"- sucessfully registering votes\n",
"- successfully registering votes\n",
"\n",
"We will use the following rubric and auto-rater to evaluate our agent and update our agent instructions with GEPA."
]
@@ -1015,7 +1015,7 @@
"class AgentFactory(Protocol):\n",
"\n",
" def __call__(instructions: str) -> base_agent.BaseAgent:\n",
" \"\"\"Initialzes an ADK agent from provided instructions.\"\"\"\n",
" \"\"\"Initializes an ADK agent from provided instructions.\"\"\"\n",
" ...\n",
"\n",
"\n",