fix typos

This commit is contained in:
trandangtrungduc 2025-04-17 17:51:07 +07:00
parent 290058eb05
commit d057f2d825
2 changed files with 2 additions and 2 deletions

View File

@ -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",
) )

View 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":