tstadel 622f922b98
feat: select tools at runtime (#9798)
* feat: select tools at runtime

* pass tools to ToolInvoker too for consistency

* refactoring

* add reno

* apply feedback and add tools to run_async

* add tests

* fix mypy

* chore: enable tool selection when running from snapshot as well

* fix pylint

* apply feedback

* Update haystack/components/agents/agent.py

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

* Update releasenotes/notes/add-tools-to-agent-run-params-3aa9c75ee548c38d.yaml

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

* add raises

* add more tests

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-09-23 09:07:54 +02:00
..