From e31cd0b5f871114a05d8e7bffa508c0169ef4446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20=C4=90=E1=BA=B7ng=20Trung=20=C4=90=E1=BB=A9?= =?UTF-8?q?c?= <69638253+trandangtrungduc@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:07:09 -0700 Subject: [PATCH] No public description COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/243 from trandangtrungduc:fix_typos 6e317d69de653b0f0ca3c3b4c439568435964a5f PiperOrigin-RevId: 749106557 --- .../tools/openapi_tool/openapi_spec_parser/openapi_toolset.py | 2 +- tests/integration/test_tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_toolset.py b/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_toolset.py index dfe0b18..6bd0f08 100644 --- a/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_toolset.py +++ b/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_toolset.py @@ -124,7 +124,7 @@ class OpenAPIToolset: def _load_spec( self, spec_str: str, spec_type: Literal["json", "yaml"] ) -> Dict[str, Any]: - """Loads the OpenAPI spec string into adictionary.""" + """Loads the OpenAPI spec string into a dictionary.""" if spec_type == "json": return json.loads(spec_str) elif spec_type == "yaml": diff --git a/tests/integration/test_tools.py b/tests/integration/test_tools.py index dab1487..3966248 100644 --- a/tests/integration/test_tools.py +++ b/tests/integration/test_tools.py @@ -241,7 +241,7 @@ def test_langchain_tool_success(agent_runner: TestRunner): def test_crewai_tool_success(agent_runner: TestRunner): _call_function_and_assert( agent_runner, - "direcotry_read_tool", + "directory_read_tool", "Find all the file paths", "file", )