Skip to content

Fix Agent Chat not working - #16688

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/fix-agent-chat-not-working
Jul 7, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/fix-agent-chat-not-working

Conversation

@wangq8

@wangq8 wangq8 commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator

Follow on this PR: #15484 it break the Agent chat

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 7, 2026
@wangq8 wangq8 added ci Continue Integration and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The useSendAgentMessage hook now explicitly sets stream: true in the request parameters for both sendMessage and sendFormMessage, ensuring both message-sending paths invoke the underlying send call in streaming mode.

Changes

Streaming Flag Addition

Layer / File(s) Summary
Enable streaming for agent message requests
web/src/pages/agent/chat/use-send-agent-message.ts
Both sendMessage and sendFormMessage now include stream: true in the params/body passed to send(...).

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested labels: size:M

Poem

A hop, a skip, a streaming flag,
No more waiting, no more lag,
stream: true now flows so bright,
Messages sent both day and night,
This bunny cheers with tiny paws! 🐇✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks the required Summary section and gives too little context about the bug and fix. Add a ### Summary section that explains the issue, background, and what this PR changes to fix Agent Chat.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main fix: Agent Chat was broken and this PR addresses it.

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.

@wangq8
wangq8 merged commit a0bda63 into infiniflow:main Jul 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant