Skip to content

single stream#78

Open
ankushchhabradelta4infotech-ai wants to merge 1 commit intoYourGPT:feat/stream-modefrom
ankushchhabradelta4infotech-ai:fix/single-stream
Open

single stream#78
ankushchhabradelta4infotech-ai wants to merge 1 commit intoYourGPT:feat/stream-modefrom
ankushchhabradelta4infotech-ai:fix/single-stream

Conversation

@ankushchhabradelta4infotech-ai
Copy link
Copy Markdown
Contributor

Description

Fixes duplicate assistant bubbles in single-turn streaming mode by correctly propagating streamMode into AbstractChat config and tightening done-payload reconciliation.

Fixes #

Changes

  • Added missing streamMode assignment in AbstractChat constructor config.
  • Added a single-turn guard to skip assistant messages from done.messages reconciliation.
  • Prevented intermediate assistant message leakage when tool action tracking is incomplete (e.g., missing action:start/end), which previously created duplicate bubbles.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)

Testing

  • I've tested this locally
  • I've added/updated tests
  • All existing tests pass

Checklist

  • My code follows the project's style guidelines
  • I've updated the documentation (if needed)
  • I've added tests that prove my fix/feature works
  • New and existing tests pass locally

Screenshots (if applicable)

N/A (behavioral streaming fix)

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 30, 2026

@ankushchhabradelta4infotech-ai is attempting to deploy a commit to the Delta4 Infotech Team on Vercel.

A member of the Team first needs to authorize it.

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