Parses the broker's {success, output, runId, artifacts} | {success:false, error} ResultJson.
If the payload isn't JSON, the raw string is surfaced as the output (success assumed) —
mirroring the spoken path, which feeds whatever came back to the model verbatim.
Parses the broker's
{success, output, runId, artifacts}|{success:false, error}ResultJson. If the payload isn't JSON, the raw string is surfaced as the output (success assumed) — mirroring the spoken path, which feeds whatever came back to the model verbatim.