Skip to content

修复:手动停止思考后再次发送会出现消息重复#1449

Open
yanglinzhi wants to merge 3 commits intobytedance:mainfrom
yanglinzhi:main
Open

修复:手动停止思考后再次发送会出现消息重复#1449
yanglinzhi wants to merge 3 commits intobytedance:mainfrom
yanglinzhi:main

Conversation

@yanglinzhi
Copy link
Copy Markdown

问题根因:手动停止流时,sendInFlightRef 标志位没有被重置,导致允许重复发送同一条消息

修复方案:包装 thread.stop() 方法,停止后重置标志位

问题根因:手动停止流时,sendInFlightRef 标志位没有被重置,导致允许重复发送同一条消息

修复方案:包装 thread.stop() 方法,停止后重置标志位

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 27, 2026

CLA assistant check
All committers have signed the CLA.

@yanglinzhi yanglinzhi force-pushed the main branch 3 times, most recently from dc4753b to 8e1e650 Compare March 27, 2026 09:25
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.

2 participants