mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:40:44 +00:00
fix: harden async media completion delivery
This commit is contained in:
@@ -93,7 +93,9 @@ id immediately, and tracks the job in the task ledger. The agent continues
|
||||
responding to other messages while the job runs. When the provider finishes,
|
||||
OpenClaw wakes the agent with the generated media paths so it can tell the
|
||||
user and, when required by source-delivery policy, relay the result through
|
||||
the message tool.
|
||||
the message tool. For message-tool-only group/channel routes, OpenClaw treats
|
||||
missing message-tool delivery evidence as a failed completion attempt and sends
|
||||
the generated media fallback directly to the original channel.
|
||||
|
||||
## Speech-to-text and Voice Call
|
||||
|
||||
|
||||
@@ -16,7 +16,10 @@ For session-backed agent runs, OpenClaw starts music generation as a
|
||||
background task, tracks it in the task ledger, then wakes the agent again
|
||||
when the track is ready so the agent can tell the user and attach the
|
||||
finished audio. In group/channel chats that use message-tool-only visible
|
||||
delivery, the agent relays the result through the message tool.
|
||||
delivery, the agent relays the result through the message tool. If the
|
||||
completion agent writes only a private final reply, OpenClaw falls back to a
|
||||
direct channel send with the generated media. The completion wake explicitly
|
||||
warns the agent that normal final replies are private in those routes.
|
||||
|
||||
<Note>
|
||||
The built-in shared tool only appears when at least one music-generation
|
||||
|
||||
Reference in New Issue
Block a user