pub enum SubagentTaskModelSource {
TaskArgument,
SubagentConfiguration,
CustomAgentDefinition,
Unset,
Unknown,
}Expand description
Where the model input for a task-tool sub-agent came from.
Variants§
TaskArgument
The spawning agent supplied the task tool’s model argument.
SubagentConfiguration
The task omitted a model and the per-sub-agent settings entry supplied a concrete one.
CustomAgentDefinition
The task omitted a model and the user-defined custom agent’s definition supplied one.
Unset
Neither the task call, the per-sub-agent settings entry, nor a custom agent definition supplied a model.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SubagentTaskModelSource
impl Clone for SubagentTaskModelSource
Source§impl Debug for SubagentTaskModelSource
impl Debug for SubagentTaskModelSource
Source§impl Default for SubagentTaskModelSource
impl Default for SubagentTaskModelSource
Source§impl<'de> Deserialize<'de> for SubagentTaskModelSource
impl<'de> Deserialize<'de> for SubagentTaskModelSource
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
impl Eq for SubagentTaskModelSource
Source§impl PartialEq for SubagentTaskModelSource
impl PartialEq for SubagentTaskModelSource
Source§impl Serialize for SubagentTaskModelSource
impl Serialize for SubagentTaskModelSource
impl StructuralPartialEq for SubagentTaskModelSource
Auto Trait Implementations§
impl Freeze for SubagentTaskModelSource
impl RefUnwindSafe for SubagentTaskModelSource
impl Send for SubagentTaskModelSource
impl Sync for SubagentTaskModelSource
impl Unpin for SubagentTaskModelSource
impl UnsafeUnpin for SubagentTaskModelSource
impl UnwindSafe for SubagentTaskModelSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.