mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-22 03:45:20 -04:00
Make AgentWorkflows deployed on LlamaDeploy work with useChatWorkflow #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thucpn on GitHub (Jul 7, 2025).
Originally assigned to: @thucpn on GitHub.
Description
As we're not using the backend (
llamaindexserver) any more - it no longer transformsToolCallResultevents intosource_nodesevents for the frontend. Instead we're using nowLlamaDeploywithuseChatWorkflowwhich sends rawToolCallandToolCallResultevents directly for a deployed AgentWorkflow tochat-ui.We need to implement the transformation logic on the frontend side to maintain the ability to display source nodes and their URLs.
✅ Tasks
ToolCallandToolCallResultevents from the stream.ToolCallResultintosource_nodesevent format for the UI.ToolCallResult.tool_output.