module documentation
Initialize Temporal OpenAI Agents overrides.
| Class | _ |
Strict pydantic deserialization with a lenient fallback. |
| Function | _data |
Undocumented |
| Function | _lenient |
Build value into type_ without enforcing required fields. |
| Function | _set |
Undocumented |
Build value into type_ without enforcing required fields.
OpenAI's construct_type handles its own response models (and the unions/lists thereof), but not the agents dataclasses that wrap them (e.g. ModelResponse), so the dataclass layer is reconstructed here and each field delegated to construct_type. include_extras preserves the Annotated discriminators the unions rely on.