b351a8c9ce 
								
							 
						 
						
							
							
								
								Improve static tools initialization safety ( #324 )  
							
							... 
							
							
							
							* improve static tools initialization safety
* Allow modification of custom_tools during code execution 
							
						 
						
							2025-01-23 09:43:49 +01:00  
				
					
						
							
							
								 
						
							
								7e9f6e5edb 
								
							 
						 
						
							
							
								
								RAG on your huggingface_doc data using chromadb and groq api ( #235 )  
							
							... 
							
							
							
							* RAG on your PDF data using chromadb and groq api
* Multiple embeeding and llm support
* Multiple embedding and llm support
* Default embeddings set to hugging face
* organize imports
* huggingface_doc data source added
* Update and rename Local_PDF_RAG_using_chromadb.py to rag_using_chromadb.py
* Quality fix
* Default agent set to CodeAgent 
							
						 
						
							2025-01-23 09:41:43 +01:00  
				
					
						
							
							
								 
						
							
								a806f50ef2 
								
							 
						 
						
							
							
								
								Multiple tool example ( #293 )  
							
							... 
							
							
							
							* Update guided_tour.md (#287 )
* Example for calling multiple tools from ToolCallingAgent
* CodeAgent added
* Default agent set to CodeAgent and Qualitty fix
* Rename file 
							
						 
						
							2025-01-23 08:55:02 +01:00  
				
					
						
							
							
								 
						
							
								fe2f4e735c 
								
							 
						 
						
							
							
								
								Fix tool calls with LiteLLM and tool optional types ( #318 )  
							
							
							
						 
						
							2025-01-22 18:42:10 +01:00  
				
					
						
							
							
								 
						
							
								ffaa945936 
								
							 
						 
						
							
							
								
								Unset temperature in models ( #315 )  
							
							
							
						 
						
							2025-01-22 17:20:12 +01:00  
				
					
						
							
							
								 
						
							
								ce11c7e3d9 
								
							 
						 
						
							
							
								
								Remove package json files ( #314 )  
							
							... 
							
							
							
							* Remove package-lock.json
* Remove package.json 
							
						 
						
							2025-01-22 16:27:45 +01:00  
				
					
						
							
							
								 
						
							
								0ead477263 
								
							 
						 
						
							
							
								
								Refactor evaluate_augassign and test all operators ( #313 )  
							
							... 
							
							
							
							* Test all augassign operators
* Refactor evaluate_augassign 
							
						 
						
							2025-01-22 14:59:09 +01:00  
				
					
						
							
							
								 
						
							
								6196958deb 
								
							 
						 
						
							
							
								
								Fix: source code inspection in interactive shells ( #281 )  
							
							... 
							
							
							
							* Support interactive shells for source inspection
* Add tool save e2e tests 
							
						 
						
							2025-01-22 13:43:16 +01:00  
				
					
						
							
							
								 
						
							
								5d6502ae1d 
								
							 
						 
						
							
							
								
								Minor fix: adding a 60 seconds timeout to the visit webpage tool ( #308 )  
							
							... 
							
							
							
							* adding a 60 seconds timeout
* lowerting the timeout to 20s 
							
						 
						
							2025-01-22 13:02:38 +01:00  
				
					
						
							
							
								 
						
							
								43904f32c7 
								
							 
						 
						
							
							
								
								Support any and none tool types ( #280 )  
							
							... 
							
							
							
							* Support any and none tool types 
							
						 
						
							2025-01-22 12:47:05 +01:00  
				
					
						
							
							
								 
						
							
								83ecd572fc 
								
							 
						 
						
							
							
								
								fix(interpreter security): functions from the builtins module must be explicitely added so as to prevent the dangerous ones from being indirectly available (compile, exec, eval, breakpoint, __import__, open, ...) ( #299 )  
							
							
							
						 
						
							2025-01-22 12:28:18 +01:00  
				
					
						
							
							
								 
						
							
								398c932250 
								
							 
						 
						
							
							
								
								refactor(models): restructure model parameter handling ( #227 )  
							
							... 
							
							
							
							* refactor(models): restructure model parameter handling
- Introduce base-class level default parameters (temperature, max_tokens)
- Optimize parameter handling: method args can override base config
- Unify parameter handling across model implementations 
							
						 
						
							2025-01-22 11:27:36 +01:00  
				
					
						
							
							
								 
						
							
								117014d2e1 
								
							 
						 
						
							
							
								
								Fix arg passing to AgentExecutionError ( #309 )  
							
							
							
						 
						
							2025-01-22 11:13:59 +01:00  
				
					
						
							
							
								 
						
							
								a721837c57 
								
							 
						 
						
							
							
								
								Add Azure OpenAI support ( #282 )  
							
							... 
							
							
							
							* Added support for connecting to Azure OpenAI via AzureOpenAIServerModel 
							
						 
						
							2025-01-22 10:44:18 +01:00  
				
					
						
							
							
								 
						
							
								ec45d6766a 
								
							 
						 
						
							
							
								
								minor fix for console in AgentLogger ( #303 )  
							
							... 
							
							
							
							* minor fix for console in AgentLogger 
							
						 
						
							2025-01-22 10:41:05 +01:00  
				
					
						
							
							
								 
						
							
								2c43546d3c 
								
							 
						 
						
							
							
								
								Fuse stream and direct run calls ( #296 )  
							
							... 
							
							
							
							* fuse stream and non stream calls 
							
						 
						
							2025-01-22 10:34:27 +01:00  
				
					
						
							
							
								 
						
							
								428aedde93 
								
							 
						 
						
							
							
								
								Update README and documentation to clarify Hub integrations with Gradio Spaces and fix code snippet formatting ( #306 )  
							
							... 
							
							
							
							- Changed the description of Hub integrations to specify sharing and loading of Gradio Spaces as tools.
- Fixed a formatting issue in the code snippet by removing an extraneous comma in the import statement. 
							
						 
						
							2025-01-22 09:28:15 +01:00  
				
					
						
							
							
								 
						
							
								5f5aec3ec4 
								
							 
						 
						
							
							
								
								Remove pickle5 package from E2BExecutor ( #295 )  
							
							
							
						 
						
							2025-01-21 17:18:39 +01:00  
				
					
						
							
							
								 
						
							
								cfbd527438 
								
							 
						 
						
							
							
								
								Add cool GIF of agent run inspection using Phoenix ( #277 )  
							
							... 
							
							
							
							* Add cool GIF of agent run inspection using Phoenix 
							
						 
						
							2025-01-21 13:43:48 +01:00  
				
					
						
							
							
								 
						
							
								16f7910df8 
								
							 
						 
						
							
							
								
								Make e2b optional dependency ( #292 )  
							
							... 
							
							
							
							* Make e2b optional dependency with extra
* Make e2b imports optional
* Update e2b docs 
							
						 
						
							2025-01-21 12:17:24 +01:00  
				
					
						
							
							
								 
						
							
								257c1fe33b 
								
							 
						 
						
							
							
								
								Update guided_tour.md ( #287 )  
							
							
							
						 
						
							2025-01-21 11:18:45 +01:00  
				
					
						
							
							
								 
						
							
								1e745c7a34 
								
							 
						 
						
							
							
								
								Update building_good_agents.md ( #283 )  
							
							
							
						 
						
							2025-01-21 11:03:51 +01:00  
				
					
						
							
							
								 
						
							
								fb23e91a21 
								
							 
						 
						
							
							
								
								Add huggingface-hub as required dependency ( #288 )  
							
							
							
						 
						
							2025-01-21 10:50:08 +01:00  
				
					
						
							
							
								 
						
							
								0e0d73b096 
								
							 
						 
						
							
							
								
								Try first dunder method in evaluate_augassign ( #285 )  
							
							... 
							
							
							
							* Test evaluate_augassign 
							
						 
						
							2025-01-21 10:41:25 +01:00  
				
					
						
							
							
								 
						
							
								a2b37caff1 
								
							 
						 
						
							
							
								
								Fix CI quality ( #286 )  
							
							
							
						 
						
							2025-01-21 10:40:15 +01:00  
				
					
						
							
							
								 
						
							
								bd08d6485d 
								
							 
						 
						
							
							
								
								Added Hindi docs for smolagents ( #279 )  
							
							
							
						 
						
							2025-01-20 19:30:31 +01:00  
				
					
						
							
							
								 
						
							
								a4612c98dc 
								
							 
						 
						
							
							
								
								Fix (interpreter security): builtins functions passed as tools enable the use of compile, eval, exec ( #274 )  
							
							
							
						 
						
							2025-01-20 17:06:47 +01:00  
				
					
						
							
							
								 
						
							
								7a91123729 
								
							 
						 
						
							
							
								
								Improve python executor's error logging ( #275 )  
							
							... 
							
							
							
							* Improve python executor's error logging 
							
						 
						
							2025-01-20 15:57:16 +01:00  
				
					
						
							
							
								 
						
							
								3c18d4d588 
								
							 
						 
						
							
							
								
								Python interpreter: improve suggestions for possible mappings ( #266 )  
							
							
							
						 
						
							2025-01-20 11:40:43 +01:00  
				
					
						
							
							
								 
						
							
								d19ebc7a48 
								
							 
						 
						
							
							
								
								Make import time faster (optional deps + delay imports) ( #253 )  
							
							... 
							
							
							
							* adapt docs
* optional in pyproject.toml
* get rid of some transformers imports
* optional transformers in models.py
* gradio, transformers, litellm
* small refacto AgentType
* merge conflicts
* mouaif
* fix tests
* AgentText no longer a str
* Add back AgentType as str/Image
* fixed for good 
							
						 
						
							2025-01-20 10:59:43 +01:00  
				
					
						
							
							
								 
						
							
								a2ca95107f 
								
							 
						 
						
							
							
								
								Bump version to 1.5.0.dev ( #256 )  
							
							... 
							
							
							
							* Bump version to 1.5.0.dev
* Fix style
---------
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> 
							
						 
						
							2025-01-20 10:59:16 +01:00  
				
					
						
							
							
								 
						
							
								35f719164b 
								
							 
						 
						
							
							
								
								Fix Bug in from_langchain in tools.py ( #268 )  
							
							... 
							
							
							
							* Fix from_langchain in tools.py 
							
						 
						
							2025-01-20 10:50:03 +01:00  
				
					
						
							
							
								 
						
							
								3178b18aab 
								
							 
						 
						
							
							
								
								Remove unused and undocumented  parameter ( #273 )  
							
							
							
						 
						
							2025-01-20 10:45:55 +01:00  
				
					
						
							
							
								 
						
							
								0abd91cf72 
								
							 
						 
						
							
							
								
								Improve tool call argument parsing ( #267 )  
							
							... 
							
							
							
							* Improve tool call argument parsing 
							
						 
						
							2025-01-20 10:44:40 +01:00  
				
					
						
							
							
								 
						
							
								89a6350fe2 
								
							 
						 
						
							
							
								
								Fix quality ( #272 )  
							
							
							
						 
						
							2025-01-20 09:49:20 +01:00  
				
					
						
							
							
								 
						
							
								06a8c546b9 
								
							 
						 
						
							
							
								
								fix additional_args and num_ctx examples also in zh docs ( #260 )  
							
							
							
						 
						
							2025-01-18 19:09:50 +01:00  
				
					
						
							
							
								 
						
							
								6e1373a324 
								
							 
						 
						
							
							
								
								Add linter rules + apply make style ( #255 )  
							
							... 
							
							
							
							* Add linter rules + apply make style 
							
						 
						
							2025-01-18 19:01:15 +01:00  
				
					
						
							
							
								 
						
							
								5aa0f2b53d 
								
							 
						 
						
							
							
								
								Fixes bug no attribute 'logger' ( #259 )  
							
							
							
						 
						
							2025-01-18 18:31:19 +01:00  
				
					
						
							
							
								 
						
							
								34810986e0 
								
							 
						 
						
							
							
								
								refactor: update model type to ChatMessage in agent classes ( #263 )  
							
							
							
						 
						
							2025-01-18 18:27:48 +01:00  
				
					
						
							
							
								 
						
							
								e3ae1800e2 
								
							 
						 
						
							
							
								
								Fixes before release ( #254 )  
							
							... 
							
							
							
							* Fixes before release 
							
						 
						
							2025-01-17 20:20:28 +01:00  
				
					
						
							
							
								 
						
							
								a4d029da88 
								
							 
						 
						
							
							
								
								add support for MCP Servers tools as `ToolCollection` ( #232 )  
							
							... 
							
							
							
							* add support for tool collection from mcp servers
* add forgotten documentation
* fix link missing in documentation
* fix linting in CI, bumpruff to use modern version
* mcpadapt added as optional dependencies
* use classmethod for from_hub and from_mcp to better reflect the fact that they return a ToolCollection
* Update src/smolagents/tools.py
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
* Update src/smolagents/tools.py
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
* Test ToolCollection.from_mcp
* Rename to mcp extra
* Add mcp extra to test extra
* add a test for from_mcp
* fix typo
* fix tests
* Test ToolCollection.from_mcp
(cherry picked from commit 9284d9ea8cf24d3c934e35a38dfe34f3ce31cef3)
* Make all pytest tests
---------
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> 
							
						 
						
							2025-01-17 19:41:43 +01:00  
				
					
						
							
							
								 
						
							
								7d6599e430 
								
							 
						 
						
							
							
								
								docs: small fixes in docs ( #245 )  
							
							
							
						 
						
							2025-01-17 19:20:25 +01:00  
				
					
						
							
							
								 
						
							
								d1b8a78783 
								
							 
						 
						
							
							
								
								Max length of "print" outputs as a parameter of an agent ( #209 )  
							
							... 
							
							
							
							* Print outputs max length as a parameter 
							
						 
						
							2025-01-17 19:16:47 +01:00  
				
					
						
							
							
								 
						
							
								116b12e93a 
								
							 
						 
						
							
							
								
								chore: unset console width, utilize auto detect feature ( #196 )  
							
							
							
						 
						
							2025-01-17 19:15:53 +01:00  
				
					
						
							
							
								 
						
							
								3e1c979dac 
								
							 
						 
						
							
							
								
								Add Chinese translations for multi-agent example ( #246 )  
							
							... 
							
							
							
							* Add first complete Chinese translation 
							
						 
						
							2025-01-17 19:12:59 +01:00  
				
					
						
							
							
								 
						
							
								e30ec8ac91 
								
							 
						 
						
							
							
								
								Set ollama context lenght in example to 8192 to make it work ( #252 )  
							
							... 
							
							
							
							* set ollama context length in example 
							
						 
						
							2025-01-17 18:41:34 +01:00  
				
					
						
							
							
								 
						
							
								58b18f5655 
								
							 
						 
						
							
							
								
								Remove dependency on _is_package_available from transformers ( #247 )  
							
							
							
						 
						
							2025-01-17 18:38:33 +01:00  
				
					
						
							
							
								 
						
							
								6db75183ff 
								
							 
						 
						
							
							
								
								Fix style  
							
							
							
						 
						
							2025-01-17 18:04:16 +01:00  
				
					
						
							
							
								 
						
							
								d8591dc703 
								
							 
						 
						
							
							
								
								Improve OpenAIServerModel by making api_base and api_url optional (will then point to OpenAI server)  
							
							
							
						 
						
							2025-01-17 18:03:51 +01:00  
				
					
						
							
							
								 
						
							
								68933e7e90 
								
							 
						 
						
							
							
								
								Make openai dependency optional ( #236 )  
							
							... 
							
							
							
							* Make openai optional dependency
* Set openai as an extra dependency 
							
						 
						
							2025-01-17 16:46:18 +01:00