ThreadSampleParams
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
⋔ Inheritance diagram¶
graph TD
2748926051["v2_protocol.ThreadSampleParams"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 2748926051
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
allow_in_progress_turn
class-attribute
instance-attribute
¶
Allow sampling the latest turn before it finishes.
disable_mcp
class-attribute
instance-attribute
¶
Disable MCP servers when the inherited window uses incremental tools on Responses Lite.
effort
class-attribute
instance-attribute
¶
effort: ReasoningEffort | None = None
Applied only when the provider and model support cache-preserving reasoning-effort updates.
expected_turn_id
instance-attribute
¶
The loaded source's latest turn, which must be finished (completed, failed, or interrupted) unless allowInProgressTurn is true.
interrupt_on_cancel
class-attribute
instance-attribute
¶
Override upstream interruption on cancellation for this sample; otherwise inherit the parent.
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Optional metadata to enrich Codex's ResponsesAPI turn metadata.