Files
codex/sdk
psachdeva-oai 16466d9e3a Carry prompt wellbeing results through answer moderation (#63886)
## 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
2026-11-25 11:48:12 +00:00
..