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
Lucain
1f8fd72acb
Clean makefile, pyproject.toml and CI ( #229 )
...
* Clean makefile / pyproject.toml / .github
* new tests after
* add back sqlalchemy
* disable docs tests in CI
* continue on error
* correct continue on error
* Remove all_docs test
2025-01-17 13:18:06 +01:00
stackviolator
a4ec1e5be3
Return textboxes on file upload errors ( #214 )
2025-01-16 16:33:01 +01:00
Albert Villanova del Moral
2a69f1574e
Fix vanilla model answer in example benchmark ( #219 )
2025-01-16 12:04:41 +01:00
Albert Villanova del Moral
2ae590edf4
Rename the benchmark dataset split from train to test ( #216 )
2025-01-16 09:57:00 +01:00
Albert Villanova del Moral
4449c51cad
Align data types in example benchmark ( #205 )
2025-01-16 09:54:47 +01:00
Aymeric Roucher
25e00c6e74
Document OpenTelemetry ( #204 )
2025-01-15 16:07:34 +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
stackviolator
2a51efe11f
Add option to upload files to GradioUI ( #138 )
...
* Add option to upload files to GradioUI
2025-01-13 16:33:45 +01:00
Aymeric Roucher
fec65e154a
More flexible verbosity level ( #150 )
2025-01-10 23:46:22 +01:00
Aymeric Roucher
cf04285cc1
Enable smolagent tools in Hugging Chat! 🚀 ( #132 )
...
* Add correct signature, api_name, and description
2025-01-09 15:15:06 +01:00
Aymeric Roucher
e1414f6653
Remove dependency on LiteLLM ( #126 )
2025-01-08 22:57:55 +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
c22fedaee1
Sort imports and add test workflows
2025-01-06 21:48:15 +01:00
Aymeric
e9119c9df5
Replace max_iteration with max_steps for consistency
2025-01-06 17:25:45 +01:00
Aymeric Roucher
dbb8b7f5ce
Fix examples/tool_calling_agent_ollama.py
2025-01-06 14:59:21 +01:00
Aymeric
3b600dbfb8
Clean benchmark further
2024-12-31 18:39:59 +01:00
Aymeric
65a93870cc
Remove docker example
2024-12-31 18:31:20 +01:00
Aymeric
8646697c73
Clean benchmark
2024-12-31 18:30:11 +01:00
Aymeric
ea77a7716b
Typo
2024-12-31 17:37:54 +01:00
Aymeric
dd1e0c50b6
Fix ollama example model_id
2024-12-31 17:37:00 +01:00
Aymeric
29585e801c
Add benchmark
2024-12-31 15:40:19 +01:00
Robert Haase
8d388ed217
simplify example code
2024-12-30 12:48:56 +01:00
Robert Haase
56a4592521
add example using ollama
2024-12-30 12:41:20 +01:00
Aymeric
82edb4ed93
Improve prompts
2024-12-27 15:23:07 +01:00
Aymeric
654f0047f3
Improve Readme example
2024-12-26 19:00:09 +01:00
Aymeric
f8b9cb34f9
Fix additional args sent to e2b server
2024-12-26 17:59:15 +01:00
Aymeric
1abaf69b67
Make RAG example extremely fast with BM25
2024-12-26 16:19:31 +01:00
Aymeric
eecd728668
Improve RAG example
2024-12-26 15:33:40 +01:00
Aymeric
e5ca0f0cb8
Support optional arguments in tool calls
2024-12-26 11:55:20 +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
162d4dc362
Add standard call to LiteLLM engine
2024-12-24 19:55:34 +01:00
Aymeric
1e357cee7f
Add LiteLLM engine
2024-12-24 17:34:14 +01:00
Aymeric
a3cd9158a7
Fix SQL example
2024-12-24 11:58:36 +01:00
Aymeric
edb0be3adf
Change all names to 'smolagent'
2024-12-24 10:31:36 +01:00
Aymeric
d389f11e37
Add transcriber tool and PipelineTool
2024-12-23 22:49:32 +01:00
Aymeric
cb7e68f2f0
Formatting
2024-12-23 17:35:34 +01:00
Aymeric
32d7bc5e06
Add tool calling agent example
2024-12-23 17:22:35 +01:00
Aymeric
dccef6248b
Multiple documentation improvements
2024-12-21 23:11:15 +01:00
Aymeric
b11abbf27e
Add E2B doc
2024-12-20 16:50:27 +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 Roucher
20c6397341
Merge pull request #1 from ErikKaum/example/alternative-docker-interface
...
Example/alternative docker interface
2024-12-18 12:07:30 +01:00
erikkaum
6b05056a7c
another example
2024-12-17 17:01:34 +01:00
erikkaum
3e0a851606
alternative of how to interface with docker
2024-12-17 15:29:47 +01:00
Aymeric
1751bf03ac
Move examples away
2024-12-16 15:41:08 +01:00