mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## What changed Add optional `promptWellbeingResults` to answer moderation metadata. Each result contains the scored input item's ID, labels, and numeric scores. Preserve the results on live agent messages and when rebuilding thread history, and expose them in the app-server v2 schemas and Python SDK models. Ignore malformed wellbeing results when reading stored moderation so the moderation decision and its display instruction can still be applied. ## Testing Cover serialization round trips with and without a display instruction, and verify that older moderation records without wellbeing results deserialize. GitOrigin-RevId: b3ed41fb529e33638eb5486bf2a22ff8b926f82a