pub struct StreamingStep {
pub step_name: String,
pub user_prompt: String,
pub max_tokens: Option<u32>,
pub temperature: Option<f64>,
pub effect_policy: Option<BackpressurePolicy>,
}Expand description
One step in a streaming execution plan.
Pre-resolves every field the hot loop needs — system prompt,
user prompt, declared effect policy. The per-chunk loop in
server_execute_streaming_async reads these fields without
touching the IR or AST.
Fields§
§step_name: StringCanonical step name (matches IRStep.name). Surfaces in
axon.token.step + axon.complete.step_names.
user_prompt: StringUser prompt this step asks the LLM. Built from step.ask +
optional apply: tool argument expansion.
max_tokens: Option<u32>Optional max-tokens cap from context.max_tokens or
step-level max_tokens: declaration.
temperature: Option<f64>Optional temperature from context.temperature (overridden
by locked-param dispatch in the Backend impl).
effect_policy: Option<BackpressurePolicy>Pre-resolved backpressure policy from the step’s tool’s
effects: <stream:<policy>> declaration. None when the
step doesn’t apply: a tool with a stream effect.
Activated by 33.x.d’s StreamPolicyEnforcer wrap; recorded
today in axon.complete.stream_policies for audit
correlation (Fase 33.e).
Trait Implementations§
Source§impl Clone for StreamingStep
impl Clone for StreamingStep
Source§fn clone(&self) -> StreamingStep
fn clone(&self) -> StreamingStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StreamingStep
impl Debug for StreamingStep
Source§impl PartialEq for StreamingStep
impl PartialEq for StreamingStep
Source§fn eq(&self, other: &StreamingStep) -> bool
fn eq(&self, other: &StreamingStep) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamingStep
Auto Trait Implementations§
impl Freeze for StreamingStep
impl RefUnwindSafe for StreamingStep
impl Send for StreamingStep
impl Sync for StreamingStep
impl Unpin for StreamingStep
impl UnsafeUnpin for StreamingStep
impl UnwindSafe for StreamingStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more