Skip to content

Fix widget handoff to canonical citation content - #401

Merged
neuromechanist merged 5 commits into
developfrom
patch/citation-sentence-placement
Sep 18, 2026
Merged

neuromechanist merged 5 commits into
developfrom
patch/citation-sentence-placement

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Summary

  • replace the in-progress streamed assistant message with the backend canonical done.content as a complete message state
  • keep canonical citations and request metadata attached before the final render/save
  • update the widget contract test for the whole-message replacement

Why

Live develop returned canonical sentence-placed done.content, but the browser still persisted/rendered raw streamed markers such as Decom[1]pose and a[1] large. This follow-up closes that client-side handoff gap.

Validation

  • 79 focused Python tests passed
  • 48 frontend streaming checks passed
  • 10 citation-rendering checks passed
  • Ruff, formatting, diff check, and node --check passed

Deployment note

This is a follow-up to merged PR #400 and should roll out through the existing develop auto-update cron.

@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Preview Deployment

Name Link
Preview URL https://patch-citation-sentence-plac-demo.osc.earth
Branch patch/citation-sentence-placement
Commit 5b3b2c0

This preview will be updated automatically when you push new commits.

@neuromechanist
neuromechanist merged commit abb6bad into develop Sep 18, 2026
8 of 9 checks passed
@neuromechanist
neuromechanist deleted the patch/citation-sentence-placement branch September 18, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant