#[non_exhaustive]pub enum ProviderNativeAgentGraphBuildError {
StructuredOutputUnsupported,
OutputRepairInstructionConflict,
OutputRepairInstructionCapacity,
OutputRepairToolSelectionUnsupported,
ToolCallsPerTurnLimit,
CheckpointReferenceLimit,
SuperstepLimit,
StaticDefinition,
StateSchema,
Canonicalization,
Graph(GraphCompileError),
}Expand description
Startup failure while compiling a prebuilt provider-native graph.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
StructuredOutputUnsupported
Only model-native structured output is implemented in v1.
OutputRepairInstructionConflict
The Agent already occupies the framework-owned repair instruction name.
OutputRepairInstructionCapacity
Adding the required repair instruction would exceed the request bound.
OutputRepairToolSelectionUnsupported
Tools may occur before repair, so their history needs disabled selection.
ToolCallsPerTurnLimit
One tool node cannot bind more than 256 terminal invocation revisions.
CheckpointReferenceLimit
Worst-case compact invocation references would exceed the checkpoint bound.
SuperstepLimit
The derived graph cannot fit the durable superstep range.
StaticDefinition
A static framework-owned identifier or edge declaration was invalid.
StateSchema
The generated state schema could not be constructed.
Canonicalization
Contract integrity bytes could not be canonicalized.
Graph(GraphCompileError)
Declarative graph compilation rejected the generated definition.
Trait Implementations§
Source§impl Error for ProviderNativeAgentGraphBuildError
impl Error for ProviderNativeAgentGraphBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<GraphCompileError> for ProviderNativeAgentGraphBuildError
impl From<GraphCompileError> for ProviderNativeAgentGraphBuildError
Source§fn from(source: GraphCompileError) -> Self
fn from(source: GraphCompileError) -> Self
Auto Trait Implementations§
impl Forget for ProviderNativeAgentGraphBuildError
impl Freeze for ProviderNativeAgentGraphBuildError
impl Move for ProviderNativeAgentGraphBuildError
impl RefUnwindSafe for ProviderNativeAgentGraphBuildError
impl Send for ProviderNativeAgentGraphBuildError
impl Sync for ProviderNativeAgentGraphBuildError
impl Unpin for ProviderNativeAgentGraphBuildError
impl UnsafeUnpin for ProviderNativeAgentGraphBuildError
impl UnwindSafe for ProviderNativeAgentGraphBuildError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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