Fix typo in src/smolagents/tools.py
This commit is contained in:
		
							parent
							
								
									78499e3a6e
								
							
						
					
					
						commit
						468116410d
					
				|  | @ -594,7 +594,7 @@ class Tool: | ||||||
|                 if api_name is None: |                 if api_name is None: | ||||||
|                     api_name = list(space_description.keys())[0] |                     api_name = list(space_description.keys())[0] | ||||||
|                     logger.warning( |                     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 |                 self.api_name = api_name | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue