mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-21 11:37:24 -06:00
fix typos
This commit is contained in:
parent
290058eb05
commit
d057f2d825
@ -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",
|
||||||
)
|
)
|
||||||
|
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user