Skip to content

fix(streaming): stabilize thinking block identity - #463

Open
Kaguya-19 wants to merge 3 commits into
OpenBMB:mainfrom
Kaguya-19:codex/stable-thinking-block-identity
Open

fix(streaming): stabilize thinking block identity#463
Kaguya-19 wants to merge 3 commits into
OpenBMB:mainfrom
Kaguya-19:codex/stable-thinking-block-identity

Conversation

@Kaguya-19

Copy link
Copy Markdown
Collaborator

Summary

  • add stable thinkingBlockId/thinkingBlockSeq through canonical, gateway, bridge, and web protocol
  • normalize provider thinking deltas to one live block identity and keep legacy fallback when fields are missing
  • update live UI/store replay/finalization to merge by block key without touching history refresh paths

Tests

  • npx tsc -p tsconfig.json --noEmit
  • PATH=/Users/a1/.nvm/versions/node/v22.23.1/bin:$PATH npm run build
  • npx tsx --test tests/model/streaming/thinkingBlockIdentity.spec.ts tests/web/thinking-block.spec.ts tests/gateway/map-agent-event-runid.spec.ts
  • npm --prefix ui test -- useSessionStore.streaming.test.ts pilotdeck-bridge.test.js

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