pub struct TaskAgentAssignment {
pub agent: AgentSelection,
pub definition: AgentDefinition,
pub role: TaskAgentRole,
}Expand description
Immutable role and provider/model selection assigned to one task.
A caller captures the selection once, before admission. A future chain can reuse that selection across its tasks without reading mutable session settings again. Permissions still resolve from the role and session at execution time; assignment never grants access.
Fields§
§agent: AgentSelectionCaptured provider/model pair, independent of the role.
definition: AgentDefinitionResolved instructions captured for every attempt in this conversation.
role: TaskAgentRoleHost workflow contract, independent of the chosen agent’s identity.
Trait Implementations§
Source§impl Clone for TaskAgentAssignment
impl Clone for TaskAgentAssignment
Source§impl Debug for TaskAgentAssignment
impl Debug for TaskAgentAssignment
impl Eq for TaskAgentAssignment
Source§impl PartialEq for TaskAgentAssignment
impl PartialEq for TaskAgentAssignment
impl StructuralPartialEq for TaskAgentAssignment
Auto Trait Implementations§
impl Forget for TaskAgentAssignment
impl Freeze for TaskAgentAssignment
impl RefUnwindSafe for TaskAgentAssignment
impl Send for TaskAgentAssignment
impl Sync for TaskAgentAssignment
impl Unpin for TaskAgentAssignment
impl UnsafeUnpin for TaskAgentAssignment
impl UnwindSafe for TaskAgentAssignment
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<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§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.