* Avoid mutating self.routes in ConditionalRouter to_dict method
* Add release note
* Update releasenotes/notes/fix-conditional-router-to-dict-5af887da50effe11.yaml
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* Make test_router_to_dict_does_not_mutate_routes more robut (add another roundtrip)
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* draft
* del HF token in tests
* adaptations
* progress
* fix type
* import sorting
* more control on deserialization
* release note
* improvements
* support name field
* fix chatpromptbuilder test
* Update chat_message.py
---------
Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
* Add optional_variables in ConditionalRouter
* Add reno note
* Add more unit test with various complex scenarios
* Add more unit tests
* Add pylint disable=too-many-positional-arguments
* PR feedback from @sjrl
* Fix issue that could lead to RCE if using unsecure Jinja templates
* Add comment explaining exception suppression
* Update release note
* Update release note
* add custom jinja filter handling to ConditionalRouter
* add release notes for custom filters
* align sede to existing patterns and update docstring example
* update sede unit test route condition to be more explicit
---------
Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>