mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
No public description
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/243 from trandangtrungduc:fix_typos 6e317d69de
PiperOrigin-RevId: 749106557
This commit is contained in:
parent
dfb283e6e0
commit
e31cd0b5f8
@ -124,7 +124,7 @@ class OpenAPIToolset:
|
|||||||
def _load_spec(
|
def _load_spec(
|
||||||
self, spec_str: str, spec_type: Literal["json", "yaml"]
|
self, spec_str: str, spec_type: Literal["json", "yaml"]
|
||||||
) -> Dict[str, Any]:
|
) -> Dict[str, Any]:
|
||||||
"""Loads the OpenAPI spec string into adictionary."""
|
"""Loads the OpenAPI spec string into a dictionary."""
|
||||||
if spec_type == "json":
|
if spec_type == "json":
|
||||||
return json.loads(spec_str)
|
return json.loads(spec_str)
|
||||||
elif spec_type == "yaml":
|
elif spec_type == "yaml":
|
||||||
|
@ -241,7 +241,7 @@ def test_langchain_tool_success(agent_runner: TestRunner):
|
|||||||
def test_crewai_tool_success(agent_runner: TestRunner):
|
def test_crewai_tool_success(agent_runner: TestRunner):
|
||||||
_call_function_and_assert(
|
_call_function_and_assert(
|
||||||
agent_runner,
|
agent_runner,
|
||||||
"direcotry_read_tool",
|
"directory_read_tool",
|
||||||
"Find all the file paths",
|
"Find all the file paths",
|
||||||
"file",
|
"file",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user