pub struct FunctionInventionCreateParams {
pub remote: Option<Remote>,
pub overwrite: Option<bool>,
pub state: ParamsStateOrRemoteCommitOptional,
pub provider: Option<Provider>,
pub agent: InlineAgentBaseWithFallbacksOrRemoteCommitOptional,
pub prompt: InlinePromptOrRemoteCommitOptional,
pub seed: Option<i64>,
pub stream: Option<bool>,
pub max_step_retries: Option<u32>,
pub continuation: Option<String>,
}Fields§
§remote: Option<Remote>§overwrite: Option<bool>§state: ParamsStateOrRemoteCommitOptional§provider: Option<Provider>§agent: InlineAgentBaseWithFallbacksOrRemoteCommitOptional§prompt: InlinePromptOrRemoteCommitOptional§seed: Option<i64>§stream: Option<bool>§max_step_retries: Option<u32>Maximum number of retries per invention step. Each step is one agent completion (which itself may loop internally via tool calls). If the step’s validation still fails after the agent loop ends, the step is retried up to this many times. Defaults to 3 if not specified.
continuation: Option<String>Continuation from a previous completion, as a base64-encoded string.
Trait Implementations§
Source§impl Clone for FunctionInventionCreateParams
impl Clone for FunctionInventionCreateParams
Source§fn clone(&self) -> FunctionInventionCreateParams
fn clone(&self) -> FunctionInventionCreateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for FunctionInventionCreateParams
impl<'de> Deserialize<'de> for FunctionInventionCreateParams
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 FunctionInventionCreateParams
impl JsonSchema for FunctionInventionCreateParams
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 FunctionInventionCreateParams
impl RefUnwindSafe for FunctionInventionCreateParams
impl Send for FunctionInventionCreateParams
impl Sync for FunctionInventionCreateParams
impl Unpin for FunctionInventionCreateParams
impl UnsafeUnpin for FunctionInventionCreateParams
impl UnwindSafe for FunctionInventionCreateParams
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
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>
Converts
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>
Converts
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