From d74837b10a4e2bc51105cce9b81f21b64dde55ac Mon Sep 17 00:00:00 2001 From: zoupingshi Date: Mon, 10 Feb 2025 00:40:42 +0800 Subject: [PATCH] chore: fix some typos (#557) Signed-off-by: zoupingshi --- src/smolagents/agents.py | 2 +- utils/check_tests_in_ci.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smolagents/agents.py b/src/smolagents/agents.py index f9fb74821..1844e4fe6 100644 --- a/src/smolagents/agents.py +++ b/src/smolagents/agents.py @@ -607,7 +607,7 @@ def replay(self, detailed: bool = False): def __call__(self, task: str, **kwargs): """ - This methd is called only by a manager agent. + This method is called only by a manager agent. Adds additional prompting for the managed agent, runs it, and wraps the output. """ full_task = populate_template( diff --git a/utils/check_tests_in_ci.py b/utils/check_tests_in_ci.py index 65ebca729..b320e23e7 100644 --- a/utils/check_tests_in_ci.py +++ b/utils/check_tests_in_ci.py @@ -30,7 +30,7 @@ def check_tests_in_ci(): tests, hence this check. NOTE: current implementation is quite naive but should work for now. Must be updated if one want to ignore some - tests or if file naming is updated (currently only files starting by `test_*` are cheked) + tests or if file naming is updated (currently only files starting by `test_*` are checked) """ test_files = [ path.relative_to(TESTS_FOLDER).as_posix()