Skip to content

fix: agent streaming cumulative tokens instead of partial messages#10216

Merged
jordanrfrazier merged 44 commits into
release-1.6.5from
fix-agent-streaming-tokens
Oct 14, 2025
Merged

fix: agent streaming cumulative tokens instead of partial messages#10216
jordanrfrazier merged 44 commits into
release-1.6.5from
fix-agent-streaming-tokens

Conversation

@jordanrfrazier
Copy link
Copy Markdown
Collaborator

@jordanrfrazier jordanrfrazier commented Oct 10, 2025

Fixes issue where agent is streaming cumulative messages instead of partial.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Oct 10, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-agent-streaming-tokens

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 10, 2025
@jordanrfrazier jordanrfrazier marked this pull request as ready for review October 10, 2025 18:18
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 10, 2025
@github-actions github-actions Bot added the lgtm This PR has been approved by a maintainer label Oct 10, 2025
@jordanrfrazier jordanrfrazier enabled auto-merge (squash) October 10, 2025 20:18
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 10, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 10, 2025

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 9%
9.58% (2522/26312) 3.9% (793/20323) 4.04% (229/5660)

Unit Test Results

Tests Skipped Failures Errors Time
831 0 💤 0 ❌ 0 🔥 14.918s ⏱️

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 30.64516% with 43 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-1.6.5@06c9ab8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/backend/base/langflow/base/agents/agent.py 6.45% 29 Missing ⚠️
src/backend/base/langflow/base/agents/events.py 68.00% 8 Missing ⚠️
src/frontend/src/stores/messagesStore.ts 0.00% 6 Missing ⚠️

❌ Your patch status has failed because the patch coverage (30.64%) is below the target coverage (40.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             release-1.6.5   #10216   +/-   ##
================================================
  Coverage                 ?   35.80%           
================================================
  Files                    ?     1221           
  Lines                    ?    58318           
  Branches                 ?     5552           
================================================
  Hits                     ?    20879           
  Misses                   ?    37278           
  Partials                 ?      161           
Flag Coverage Δ
backend 55.76% <33.92%> (?)
frontend 8.81% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/frontend/src/stores/messagesStore.ts 4.25% <0.00%> (ø)
src/backend/base/langflow/base/agents/events.py 79.03% <68.00%> (ø)
src/backend/base/langflow/base/agents/agent.py 33.55% <6.45%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 10, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 11, 2025
@github-actions github-actions Bot added the bug Something isn't working label Oct 13, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 13, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 13, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 13, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 13, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 14, 2025
Copy link
Copy Markdown
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Oct 14, 2025
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants