[codex] Render streaming assistant deltas#753
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: openhands <openhands@all-hands.dev>
|
Pushed f018116 to stabilize the home page visual snapshot setup: mocked the workspaces API and increased the home-screen visibility wait. Local verification: |
📸 Snapshot Test Report✅ All snapshots match the main branch baselines.
✅ Unchanged snapshots (73)
Generated by the Snapshot Tests workflow. This comment was created by an AI agent (OpenHands) on behalf of the repo maintainers. |
Summary
StreamingDeltaEventfrontend type and guardRoot Cause
The agent-server can publish transient
StreamingDeltaEvents, but agent-canvas treated unknown base-shaped events as non-renderable. After the first UI fix, final-message reconciliation could remove the provisional streaming deltas from their original location and leave the completed text at the end. The current branch keeps streamed content anchored where it originally appeared.Human Validation
HUMAN: I tested this and confirmed that it is working.
Before

After

Validation
npm test -- --run __tests__/utils/handle-event-for-ui.test.ts __tests__/components/conversation-events/chat/event-content-helpers/should-render-event.test.tsnpm run typechecknpm run buildCompanion SDK/server PR: OpenHands/software-agent-sdk#3376
🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.23.0-pythonopenhands-automation==1.0.0a3f01811659173f3f1e68760c2834542c1cdaf5c51Pull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-f018116Run
All tags pushed for this build
About Multi-Architecture Support
sha-f018116) is a multi-arch manifest supporting both amd64 and arm64sha-f018116-amd64) are also available if needed