mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
fix(discord): bind draft boundary callbacks
This commit is contained in:
@@ -645,10 +645,10 @@ export async function processDiscordMessage(
|
||||
? (payload) => draftPreview.updateFromPartial(payload.text)
|
||||
: undefined,
|
||||
onAssistantMessageStart: draftPreview.draftStream
|
||||
? draftPreview.handleAssistantMessageBoundary
|
||||
? () => draftPreview.handleAssistantMessageBoundary()
|
||||
: undefined,
|
||||
onReasoningEnd: draftPreview.draftStream
|
||||
? draftPreview.handleAssistantMessageBoundary
|
||||
? () => draftPreview.handleAssistantMessageBoundary()
|
||||
: undefined,
|
||||
onModelSelected,
|
||||
suppressDefaultToolProgressMessages:
|
||||
|
||||
Reference in New Issue
Block a user