mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 03:38:43 +00:00
fix(agents): surface blocked subagent completions
This commit is contained in:
@@ -21,6 +21,7 @@ Docs: https://docs.openclaw.ai
|
||||
|
||||
### Fixes
|
||||
|
||||
- Agents/subagents: surface blocked child-run completions as errors instead of successful subagent finishes. (#80886) Thanks @TurboTheTurtle.
|
||||
- WhatsApp: update Baileys to `7.0.0-rc13` and drop the obsolete logger type patch.
|
||||
- Infra/json: retry transient `File changed during read` races while loading JSON state so config and state reads recover instead of failing the turn. (#84285)
|
||||
- Providers/Ollama: resolve configured Ollama Cloud `OLLAMA_API_KEY` markers to the real discovery key so cloud provider entries keep authenticated model catalog access. (#85037)
|
||||
|
||||
@@ -377,6 +377,7 @@ export function applySubagentWaitOutcome(params: {
|
||||
}
|
||||
const waitError = typeof params.wait?.error === "string" ? params.wait.error : undefined;
|
||||
let outcome = next.outcome;
|
||||
// Capture/announcement callers can pass raw wait snapshots that bypass the primary normalizers.
|
||||
if (isBlockedLivenessState(params.wait?.livenessState)) {
|
||||
outcome = { status: "error", error: formatBlockedLivenessError(waitError) };
|
||||
} else if (params.wait?.status === "timeout") {
|
||||
|
||||
Reference in New Issue
Block a user