Lucain
6e1373a324
Add linter rules + apply make style ( #255 )
...
* Add linter rules + apply make style
2025-01-18 19:01:15 +01:00
Aymeric Roucher
e3ae1800e2
Fixes before release ( #254 )
...
* Fixes before release
2025-01-17 20:20:28 +01:00
Guillaume Raille
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
Albert Villanova del Moral
58b18f5655
Remove dependency on _is_package_available from transformers ( #247 )
2025-01-17 18:38:33 +01:00
Edward Beeching
fabc59aa08
Fix missing python modules in CodeAgent system prompt ( #226 )
...
* fix modules in system prompt + test
2025-01-17 11:59:30 +01:00
Aymeric Roucher
c255c1ff84
Fix subpackage import vulnerability ( #238 )
...
* Fix subpackage import vulnerability
2025-01-17 11:40:49 +01:00
Aymeric Roucher
b4091cb5ce
Allow passing kwargs to all models ( #222 )
...
* Allow passing kwargs to all models
2025-01-16 23:03:38 +01:00
Aymeric Roucher
e5c054cc5b
Pre-release fixes ( #207 )
2025-01-15 16:56:12 +01:00
Aymeric Roucher
06aca55be6
Fix import from ChatMessage in test_monitoring ( #202 )
2025-01-15 14:03:41 +01:00
NeverLucky
a22c221fa7
call.func parameter ( #194 )
2025-01-15 13:58:52 +01:00
Aymeric Roucher
450934ce79
Add support for OpenTelemetry instrumentation 📊 ( #200 )
2025-01-15 12:10:52 +01:00
Aymeric Roucher
ce1cd6d906
Support pandas' iloc indexer ( #191 )
2025-01-14 19:27:07 +01:00
Aymeric Roucher
5f32373551
Make default tools more robust ( #186 )
2025-01-14 14:57:11 +01:00
Aymeric
1d846072eb
Improve GradioUI file upload system
2025-01-13 19:46:36 +01:00
Aymeric Roucher
c611dfc7e5
Clean local python interpreter: propagate imports ( #175 )
2025-01-13 17:23:03 +01:00
Aymeric Roucher
eca83800e3
Halve import time by removing torch dependency ( #147 )
...
* Halve import time by removing torch dependency
2025-01-10 15:00:28 +01:00
Aymeric Roucher
5c33130fa4
Vastly simplify Model class ✨ ( #146 )
...
* Vastly simplify Model class by making only one __call__ method ✨
2025-01-10 12:30:59 +01:00
Aymeric Roucher
cb9830a554
Support OpenTelemetry ( #136 )
...
* Support OpenTelemetry
2025-01-09 23:08:17 +01:00
Aymeric Roucher
067ae9bc90
Support multiple code blobs ( #128 )
2025-01-08 23:20:50 +01:00
Aymeric Roucher
d3cd0f9e09
Auto correct wrong assignments to final_answer ( #123 )
...
* Auto correct wrong assignments to final_answer
2025-01-08 19:04:11 +01:00
Aymeric
681758ae84
Fix failing import test in test_agents.py
2025-01-07 14:09:01 +01:00
Aymeric
d45c63555f
Pass more tests
2025-01-06 22:04:00 +01:00
Aymeric
c22fedaee1
Sort imports and add test workflows
2025-01-06 21:48:15 +01:00
Aymeric
10fee97902
Update test workflows
2025-01-06 21:05:41 +01:00
Aymeric
e8617b3037
Finalize multiagent tests
2025-01-06 19:33:50 +01:00
Aymeric
0824785b7a
Add tests for multiagent hierarchies
2025-01-06 19:24:46 +01:00
Aymeric
e9119c9df5
Replace max_iteration with max_steps for consistency
2025-01-06 17:25:45 +01:00
Aymeric
3f79baee71
Add warning about missing imports in CodeAgent error logs
2025-01-06 11:00:36 +01:00
Aymeric
59993e6a76
Add multiagent example
2024-12-31 01:31:58 +01:00
Aymeric
54d6857da2
Pass tests
2024-12-30 18:03:53 +01:00
Aymeric
d5a036d3f2
Pass tests
2024-12-27 16:27:16 +01:00
Aymeric
c880f2f5b6
Format
2024-12-27 16:18:19 +01:00
Aymeric
ccdc75333b
Add tests for models
2024-12-26 11:56:06 +01:00
Aymeric
e5ca0f0cb8
Support optional arguments in tool calls
2024-12-26 11:55:20 +01:00
Aymeric
c4f38850b2
Improve code execution error logging
2024-12-25 23:28:57 +01:00
Aymeric
8005d6f21d
Change name 'llm_engine' to 'model'
2024-12-25 21:51:43 +01:00
Aymeric
3a70e17cae
Remove direct support for openai and anthropic engines, one can use LiteLLM
2024-12-24 23:36:46 +01:00
Aymeric
1e357cee7f
Add LiteLLM engine
2024-12-24 17:34:14 +01:00
Aymeric
edb0be3adf
Change all names to 'smolagent'
2024-12-24 10:31:36 +01:00
Aymeric
32d7bc5e06
Add tool calling agent example
2024-12-23 17:22:35 +01:00
Aymeric
30cb6111b3
Enable support for tool calling agents
2024-12-23 17:10:07 +01:00
Aymeric
dccef6248b
Multiple documentation improvements
2024-12-21 23:11:15 +01:00
Aymeric
c18bc9037d
Add E2B code interpreter 🥳
2024-12-20 16:20:41 +01:00
Aymeric
584ce8f363
Consolidate pushing Tools to Hub
2024-12-19 16:57:05 +01:00
Aymeric
ba87dd98c8
Solve additional args not being passed to task
2024-12-18 12:27:43 +01:00
Aymeric
17e05efb70
Formatting
2024-12-16 15:55:00 +01:00
Aymeric
06066437fd
Formatting
2024-12-16 15:46:47 +01:00
Aymeric
1751bf03ac
Move examples away
2024-12-16 15:41:08 +01:00
Aymeric
5231162274
Add many doc pages and fix doc tests
2024-12-16 14:55:12 +01:00
Aymeric
aef0510e68
Force imports inside tool
2024-12-15 14:30:00 +01:00