pub struct TaskAgent {
pub runner: Option<Runner>,
pub model: Option<Model>,
pub model_effort: ModelEffort,
pub phases: Option<u8>,
pub iterations: Option<u8>,
pub followup_reasoning_effort: Option<ReasoningEffort>,
pub runner_cli: Option<RunnerCliOptionsPatch>,
pub phase_overrides: Option<PhaseOverrides>,
}Fields§
§runner: Option<Runner>§model: Option<Model>§model_effort: ModelEffortPer-task reasoning effort override for Codex models. Default falls back to config.
phases: Option<u8>Number of execution phases for this task (1, 2, or 3), overriding config defaults.
iterations: Option<u8>Number of iterations to run for this task (overrides config).
followup_reasoning_effort: Option<ReasoningEffort>Reasoning effort override for follow-up iterations (iterations > 1).
runner_cli: Option<RunnerCliOptionsPatch>Optional normalized runner CLI overrides for this task.
This is intended to express runner behavior intent (output/approval/sandbox/etc) without embedding runner-specific flag syntax into the queue.
phase_overrides: Option<PhaseOverrides>Optional per-phase runner/model/effort overrides for this task.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskAgent
impl<'de> Deserialize<'de> for TaskAgent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for TaskAgent
impl JsonSchema for TaskAgent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for TaskAgent
impl RefUnwindSafe for TaskAgent
impl Send for TaskAgent
impl Sync for TaskAgent
impl Unpin for TaskAgent
impl UnsafeUnpin for TaskAgent
impl UnwindSafe for TaskAgent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more