{"version":"2.1.219","anchor":"advisor-tool-result-payload-is-now-a-discriminated-union-tha","canonical_anchor":"advisor-tool-result-payload-is-now-a-discriminated-union-tha","heading":"Advisor tool result payload is now a discriminated union that can be encrypted","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219\/e\/advisor-tool-result-payload-is-now-a-discriminated-union-tha","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219","markdown":"### Advisor tool result payload is now a discriminated union that can be encrypted\n\nAdvisor tool results can come back encrypted with no text field, so reading .text may find nothing.\n\n**What**\n\nThe advisor-tool docs warn that `advisor_tool_result.content` differs by advisor model, so code that reads `.text` unconditionally can silently get nothing.\n\n**Details**\n\n- Plaintext advisors return `advisor_result` with `text` and `stop_reason`.\n- The newest advisors return `advisor_redacted_result` with `encrypted_content` and no `text`.\n- The executor-to-advisor compatibility table is expanded with the new Opus, Fable and Mythos IDs.\n\n**Evidence**\n\n`advisor_redacted_result`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 0\/5"}