mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## What changed Pass the resolved result-body destination into sampling, where its owner is used to select retained bodies for the turn. Check that the capture owner is current under the retention lock before converting an MCP result and again before retaining its body. ## Testing Extend the request-budget integration test for direct calls and Code Mode to check when executed calls carry result metadata. Cover ungranted and custom endpoints, independent model credentials, hosted Apps OAuth and header overrides, and disabled result-body passthrough. Check that the shared configuration preserves metadata on a subsequent turn. GitOrigin-RevId: 8e5ac88ba323d10e0f3e696d4ae356d52bdf22a3