chainlit
chainlit copied to clipboard
Fix Haystack tool step text
trafficstars
Fixing a bug where the tool_result text is not displayed in the UI.
- replaced the tool_result update by calling stream_token
- replaced the id of the tool step with the parent id of the step above it, instead of the id itself.
@willydouhard is there something I should add to this PR?