Skip to content

Commit a8f2ddd

Browse files
didier-durandcopybara-github
authored andcommitted
chore: fixing various typos
Merge #4175 ### Link to Issue or Description of Change **1. Link to an existing issue (if applicable):** N/A: just fixing typos discovered while reading the repo **2. Or, if no issue exists, describe the change:** No code change, just typo fixes: see commit diffs for all details **Problem:** Trying to improve overall repo quality **Solution:** Fixing typos as they get discovered ### Testing Plan N/A **Unit Tests:** N/A **Manual End-to-End (E2E) Tests:** N/A ### Checklist - [X] I have read the [CONTRIBUTING.md](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) document. - [X] I have performed a self-review of my own code. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have added tests that prove my fix is effective or that my feature works. - [X] New and existing unit tests pass locally with my changes. - [ ] I have manually tested my changes end-to-end. - [ ] Any dependent changes have been merged and published in downstream modules. COPYBARA_INTEGRATE_REVIEW=#4175 from didier-durand:fix-typos-c 16e93ed PiperOrigin-RevId: 858751240
1 parent 7955177 commit a8f2ddd

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ agentic architectures that range from simple tasks to complex workflows.
2424
interacts with various services like session management, artifact storage,
2525
and memory, and integrates with application-wide plugins. The runner
2626
provides different execution modes: `run_async` for asynchronous execution
27-
in production, `run_live` for bi-directional streaming interaction, and
27+
in production, `run_live` for bidirectional streaming interaction, and
2828
`run` for synchronous execution suitable for local testing and debugging. At
2929
the end of each invocation, it can perform event compaction to manage
3030
session history size.

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@
531531
* Set `max_output_tokens` for the agent builder ([2e2d61b](https://github.com/google/adk-python/commit/2e2d61b6fecb90cd474d6f51255678ff74b67a9b))
532532
* Set default response modality to AUDIO in run_session ([68402bd](https://github.com/google/adk-python/commit/68402bda49083f2d56f8e8488fe13aa58b3bc18c))
533533
* Update remote_a2a_agent to better handle streaming events and avoid duplicate responses ([8e5f361](https://github.com/google/adk-python/commit/8e5f36126498f751171bb2639c7f5a9e7dca2558))
534-
* Update the load_artifacts tool so that the model can reliably call it for follow up questions about the same artifact ([238472d](https://github.com/google/adk-python/commit/238472d083b5aa67551bde733fc47826ff062679))
534+
* Update the load_artifacts tool so that the model can reliably call it for follow-up questions about the same artifact ([238472d](https://github.com/google/adk-python/commit/238472d083b5aa67551bde733fc47826ff062679))
535535
* Fix VertexAiSessionService base_url override to preserve initialized http_options ([8110e41](https://github.com/google/adk-python/commit/8110e41b36cceddb8b92ba17cffaacf701706b36), [c51ea0b](https://github.com/google/adk-python/commit/c51ea0b52e63de8e43d3dccb24f9d20987784aa5))
536536
* Handle `App` instances returned by `agent_loader.load_agent` ([847df16](https://github.com/google/adk-python/commit/847df1638cbf1686aa43e8e094121d4e23e40245))
537537

@@ -698,7 +698,7 @@
698698
* AgentTool returns last content, instead of the content in the last event [bcf0dda](https://github.com/google/adk-python/commit/bcf0dda8bcc221974098f3077007c9e84c63021a)
699699
* Fix adk deploy docker file permission [ad81aa5](https://github.com/google/adk-python/commit/ad81aa54de1f38df580915b7f47834ea8e5f1004)
700700
* Updating BaseAgent.clone() and LlmAgent.clone() to properly clone fields that are lists [29bb75f](https://github.com/google/adk-python/commit/29bb75f975fe0c9c9d9a7e534a9c20158e1cbe1e)
701-
* Make tool description for bigquery `execute_sql` for various write modes self contained [167182b](https://github.com/google/adk-python/commit/167182be0163117f814c70f453d5b2e19bf474df)
701+
* Make tool description for bigquery `execute_sql` for various write modes self-contained [167182b](https://github.com/google/adk-python/commit/167182be0163117f814c70f453d5b2e19bf474df)
702702
* Set invocation_id and branch for event generated when both output_schema and tools are used [3f3aa7b](https://github.com/google/adk-python/commit/3f3aa7b32d63cae5750d71bc586c088427c979ea)
703703
* Rework parallel_agent.py to always aclose async generators [826f554](https://github.com/google/adk-python/commit/826f5547890dc02e707be33a3d6a58b527dac223)
704704
* Add table metadata info into Spanner tool `get_table_schema` and fix the key usage info [81a53b5](https://github.com/google/adk-python/commit/81a53b53d6336011187a50ae8f1544de9b2764a8)

contributing/samples/bigquery_mcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This sample agent demonstrates using ADK's `McpToolset` to interact with
66
BigQuery's official MCP endpoint, allowing an agent to access and execute
7-
toole by leveraging the Model Context Protocol (MCP). These tools include:
7+
tools by leveraging the Model Context Protocol (MCP). These tools include:
88

99

1010
1. `list_dataset_ids`

contributing/samples/context_offloading_with_artifact/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ response. This keeps the turn events small, saving context space.
3232
the *next* request to the LLM. This makes the report data available
3333
immediately, allowing the agent to summarize it or answer questions in the
3434
same turn, as seen in the logs. This artifact is only appended for that
35-
round and not saved to session. For furtuer rounds of conversation, it will
35+
round and not saved to session. For future rounds of conversation, it will
3636
be removed from context.
3737
3. **Loading on Demand**: The `CustomLoadArtifactsTool` enhances the default
3838
`load_artifacts` behavior.

contributing/samples/mcp_stdio_notion_agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Notion MCP Agent
22

3-
This is an agent that is using Notion MCP tool to call Notion API. And it demonstrate how to pass in the Notion API key.
3+
This is an agent that is using Notion MCP tool to call Notion API. And it demonstrates how to pass in the Notion API key.
44

55
Follow below instruction to use it:
66

contributing/samples/oauth_calendar_agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This sample tests and demos the OAuth support in ADK via two tools:
77
* 1. list_calendar_events
88

99
This is a customized tool that calls Google Calendar API to list calendar
10-
events. It pass in the client id and client secrete to ADK and then get back
10+
events. It passes in the client id and client secret to ADK and then get back
1111
the access token from ADK. And then it uses the access token to call
1212
calendar api.
1313

src/google/adk/apps/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ResumabilityConfig(BaseModel):
4343
"""The config of the resumability for an application.
4444
4545
The "resumability" in ADK refers to the ability to:
46-
1. pause an invocation upon a long running function call.
46+
1. pause an invocation upon a long-running function call.
4747
2. resume an invocation from the last event, if it's paused or failed midway
4848
through.
4949

src/google/adk/cli/adk_web_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class RunAgentRequest(common.BaseModel):
205205
new_message: types.Content
206206
streaming: bool = False
207207
state_delta: Optional[dict[str, Any]] = None
208-
# for resume long running functions
208+
# for resume long-running functions
209209
invocation_id: Optional[str] = None
210210

211211

src/google/adk/flows/llm_flows/base_llm_flow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
class BaseLlmFlow(ABC):
7474
"""A basic flow that calls the LLM in a loop until a final response is generated.
7575
76-
This flow ends when it transfer to another agent.
76+
This flow ends when it transfers to another agent.
7777
"""
7878

7979
def __init__(self):
@@ -393,8 +393,8 @@ async def _run_one_step_async(
393393
current_invocation=True, current_branch=True
394394
)
395395

396-
# Long running tool calls should have been handled before this point.
397-
# If there are still long running tool calls, it means the agent is paused
396+
# Long-running tool calls should have been handled before this point.
397+
# If there are still long-running tool calls, it means the agent is paused
398398
# before, and its branch hasn't been resumed yet.
399399
if (
400400
invocation_context.is_resumable

0 commit comments

Comments
 (0)