Skip to content

Commit 024af2b

Browse files
xinhuaguTakhoffman
andauthored
fix(feishu): disable block streaming to prevent silent reply drops (#38422)
Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: xinhuagu <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
1 parent e309a15 commit 024af2b

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ Docs: https://docs.openclaw.ai
223223
- Models/tool probing: raise the tool-capability probe budget from 32 to 256 tokens so reasoning models that spend tokens on thinking before returning a required tool call are less likely to be misclassified as not supporting tools. (#7521) Thanks @jakobdylanc.
224224
- Gateway/transient network classification: treat wrapped `...: fetch failed` transport messages as transient while avoiding broad matches like `Web fetch failed (404): ...`, preventing Discord reconnect wrappers from crashing the gateway without suppressing non-network tool failures. (#38530) Thanks @xinhuagu.
225225
- ACP/console silent reply suppression: filter ACP `NO_REPLY` lead fragments and silent-only finals before `openclaw agent` logging/delivery so console-backed ACP sessions no longer leak `NO`/`NO_REPLY` placeholders. (#38436) Thanks @ql-wade.
226+
- Feishu/reply delivery reliability: disable block streaming in Feishu reply options so plain-text auto-render replies are no longer silently dropped before final delivery. (#38258) Thanks @xinhuagu.
226227

227228
## 2026.3.2
228229

‎extensions/feishu/src/reply-dispatcher.test.ts‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,17 @@ describe("createFeishuReplyDispatcher streaming behavior", () => {
219219
expect(sendMediaFeishuMock).not.toHaveBeenCalled();
220220
});
221221

222+
it("sets disableBlockStreaming in replyOptions to prevent silent reply drops", async () => {
223+
const result = createFeishuReplyDispatcher({
224+
cfg: {} as never,
225+
agentId: "agent",
226+
runtime: {} as never,
227+
chatId: "oc_chat",
228+
});
229+
230+
expect(result.replyOptions).toHaveProperty("disableBlockStreaming", true);
231+
});
232+
222233
it("uses streaming session for auto mode markdown payloads", async () => {
223234
createFeishuReplyDispatcher({
224235
cfg: {} as never,

‎extensions/feishu/src/reply-dispatcher.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP
382382
replyOptions: {
383383
...replyOptions,
384384
onModelSelected: prefixContext.onModelSelected,
385+
disableBlockStreaming: true,
385386
onPartialReply: streamingEnabled
386387
? (payload: ReplyPayload) => {
387388
if (!payload.text) {

0 commit comments

Comments
 (0)