mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-08 13:06:29 +00:00
Reno note
This commit is contained in:
parent
890f3a5519
commit
b69f7a4d9b
@ -0,0 +1,4 @@
|
||||
---
|
||||
enhancements:
|
||||
- |
|
||||
Added validation for ``inputs_from_state`` and ``outputs_to_state`` parameters in the ``Tool`` class. Tools now validate at construction time that state mappings reference valid tool parameters and outputs, catching configuration errors early instead of at runtime. The validation uses function introspection and JSON schema to ensure parameter names exist, and subclasses like ``ComponentTool`` validate against component input/output sockets.
|
||||
Loading…
x
Reference in New Issue
Block a user