chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Fix Haystack tool step text

Open mosheber opened this issue 1 year ago • 1 comments
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.

mosheber avatar May 01 '24 14:05 mosheber

@willydouhard is there something I should add to this PR?

mosheber avatar May 08 '24 16:05 mosheber