mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-05 08:42:11 +00:00
fix: remove hardcoded disableBlockStreaming to honor agent config for TUI
The chat.send handler was hardcoding disableBlockStreaming: true, which overrode the agents.defaults.blockStreamingDefault config setting. This caused TUI to ignore the blockStreamingDefault config and always stream token-by-token, overwriting previous content. Now the blockStreamingDefault config is respected for TUI/webchat just like other channels. Fixes #19643
This commit is contained in:
committed by
Gustavo Madeira Santana
parent
dd28a77df0
commit
5d44f1631b
@@ -898,7 +898,6 @@ export const chatHandlers: GatewayRequestHandlers = {
|
||||
runId: clientRunId,
|
||||
abortSignal: abortController.signal,
|
||||
images: parsedImages.length > 0 ? parsedImages : undefined,
|
||||
disableBlockStreaming: true,
|
||||
onAgentRunStart: (runId) => {
|
||||
agentRunStarted = true;
|
||||
const connId = typeof client?.connId === "string" ? client.connId : undefined;
|
||||
|
||||
Reference in New Issue
Block a user