Fix typo in src/smolagents/tools.py

This commit is contained in:
oliveredget 2025-01-04 14:21:04 +08:00
parent 78499e3a6e
commit 468116410d
No known key found for this signature in database
GPG Key ID: FC23EA5AECCBE0C0
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ class Tool:
if api_name is None:
api_name = list(space_description.keys())[0]
logger.warning(
f"Since `api_name` was not defined, it was automatically set to the first avilable API: `{api_name}`."
f"Since `api_name` was not defined, it was automatically set to the first available API: `{api_name}`."
)
self.api_name = api_name