Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

### 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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This project follows
## Requirement for PRs

- Each PR should only have one commit. Please squash it if there are multiple PRs.
- All PRs, other than small documentation or typo fixes, should have a Issue assoicated. If not, please create one.
- All PRs, other than small documentation or typo fixes, should have a Issue associated. If not, please create one.
- Small, focused PRs. Keep changes minimal—one concern per PR.
- For bug fixes or features, please provide logs or screenshot after the fix is applied to help reviewers better understand the fix.
- Please include a `testing plan` section in your PR to talk about how you will test. This will save time for PR review. See `Testing Requirements` section for more details.
Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/evaluation/agent_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ async def _get_eval_results_by_eval_id(
def _get_eval_metric_results_with_invocation(
eval_results_per_eval_id: list[EvalCaseResult],
) -> dict[str, list[_EvalMetricResultWithInvocation]]:
"""Retruns _EvalMetricResultWithInvocation grouped by metric.
"""Returns _EvalMetricResultWithInvocation grouped by metric.

EvalCaseResult contain results for each metric per invocation.

Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/tools/function_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def run_async(

# Functions are callable objects, but not all callable objects are functions
# checking coroutine function is not enough. We also need to check whether
# Callable's __call__ function is a coroutine funciton
# Callable's __call__ function is a coroutine function
if (
inspect.iscoroutinefunction(self.func)
or hasattr(self.func, '__call__')
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/tools/test_build_function_declaration.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def function_string_return(param: str) -> str:
assert function_decl.response.type == types.Type.STRING


def test_fucntion_with_no_response_annotations():
def test_function_with_no_response_annotations():
"""Test a function that has no response annotations."""

def transfer_to_agent(agent_name: str, tool_context: ToolContext):
Expand Down
4 changes: 2 additions & 2 deletions tests/unittests/tools/test_function_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async def test_run_async_missing_all_arg_async_func():

@pytest.mark.asyncio
async def test_run_async_with_optional_args_not_set_sync_func():
"""Test that run_async calls the function for sync funciton with optional args not set."""
"""Test that run_async calls the function for sync function with optional args not set."""

def func_with_optional_args(arg1, arg2=None, *, arg3, arg4=None, **kwargs):
return f"{arg1},{arg3}"
Expand All @@ -286,7 +286,7 @@ def func_with_optional_args(arg1, arg2=None, *, arg3, arg4=None, **kwargs):

@pytest.mark.asyncio
async def test_run_async_with_optional_args_not_set_async_func():
"""Test that run_async calls the function for async funciton with optional args not set."""
"""Test that run_async calls the function for async function with optional args not set."""

async def async_func_with_optional_args(
arg1, arg2=None, *, arg3, arg4=None, **kwargs
Expand Down
Loading