mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-21 03:15:21 -04:00
[PR #149] [MERGED] set the run status to running as soon as event streaming starts #161
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?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/149
Author: @adrianlyjak
Created: 6/25/2025
Status: ✅ Merged
Merged: 6/27/2025
Merged by: @marcusschiesser
Base:
main← Head:adrian/fix-148📝 Commits (7)
a1e9a93Failing test to recreate #14819c1533Fix the status bug3796da3this is failing when resuming a task too1a66ea8use actual streaming responsec0ad533set status running as soon as start streaming eventse4e1632Create empty-mails-laugh.md56ef202update changeset📊 Changes
5 files changed (+124 additions, -4 deletions)
View changed files
➕
.changeset/empty-mails-laugh.md(+5 -0)➕
.prettierignore(+1 -0)📝
packages/chat-ui/src/hook/use-workflow/hook.ts(+2 -3)📝
packages/chat-ui/src/hook/use-workflow/types.ts(+1 -1)📝
packages/chat-ui/src/test/__tests__/use-workflow.test.tsx(+115 -0)📄 Description
Hmm, I can't actually recreate this with a realistic streaming response. I wonder if we're doing something improper in llamadeploy causing the header section to not complete before the first event is sent.
I could "fix" this by setting the status as soon as the /events request is sent (rather than waiting for ok ack from SSE headers)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.