Commit Graph

6 Commits

Author SHA1 Message Date
Stefano Fiorucci d8e3bc11c1 refactor: Toolset refactoring - pt. 1 (#12298) 2026-08-11 11:49:02 +02:00
Muhammad Furqan d69eb08483 fix: support negative indices in _ToolsetWrapper.__getitem__ (#11760)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julian Risch <julianrisch@gmx.de>
2026-08-04 12:02:07 +02:00
Sebastian Husch Lee 496c92a73b fix: Fix usage of SearchableToolset with Agent when selecting a subset of tools to be active (#11564)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
2026-06-16 10:52:29 +02:00
Sebastian Husch Lee 03061c3f67 fix: Make Toolset and _ToolsetWrapper warm_up methods idempotent and Agent now warms up passed in run-time tools (#11545) 2026-06-09 11:08:25 +02:00
Stefano Fiorucci 8091034fb5 chore: remove unused imports and enforce related Ruff rule (#10278)
* chore: remove unused imports and enforce ruff rule

* fix

* enforce f401 rule

* pylint fix
2025-12-19 18:45:44 +01:00
Vladimir Blagojevic 9bc59c3806 Add Tools warm_up (#9856)
Docker image release / Build base image (push) Has been cancelled
* Tools warmup initial

* Fix lint

* Improve pydocs for warm_up

* Further improve pydocs for warm_up

* No need to warm_up tools in Agent as they are warmed up by ToolInvoker

* Simplify Toolset __add__ logic

* Simplify _ToolsetWrapper

* Add unit tests

* ToolInvoker warm_up

* Improve Tool pydoc

* Resurrect serde_utils.py

* Update tests

* Call ToolInvoker warm_up in agent warm_up

* Lint

* Move warm_up tests to ToolInvoker

* Update tests

* Remove tests

* Pydoc nit

* PR feedback

* ToolInvoker's warm_up is idempotent

* Add reno note

* Update releasenotes/notes/tools-warm-up-support-e16cc043fed3653f.yaml

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>

* Make ComponentTool warm_up idempotent

* Update warm_up_tools to use ToolsType

* Linting

* Add warm up test for mixed list of Tool/Toolset instances

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-10-20 12:11:34 +02:00