pub enum AgentContextRequirement {
UserRequest,
UserRequestAndAcceptedPlan,
}Expand description
Inputs a workflow must explicitly supply, in addition to workspace access.
Each role requires its own conversation; another role’s provider conversation must not be implicitly reused. These requirements describe the contract, not a context builder. They neither copy the session transcript nor grant access.
Variants§
UserRequest
The original user request and any clarification addressed to this role.
UserRequestAndAcceptedPlan
The original request, explicitly accepted plan, and relevant clarification. A workflow must retain which planner attempt produced the accepted plan; a successful attempt by itself does not establish acceptance.
Trait Implementations§
Source§impl Clone for AgentContextRequirement
impl Clone for AgentContextRequirement
impl Copy for AgentContextRequirement
Source§impl Debug for AgentContextRequirement
impl Debug for AgentContextRequirement
impl Eq for AgentContextRequirement
Source§impl PartialEq for AgentContextRequirement
impl PartialEq for AgentContextRequirement
impl StructuralPartialEq for AgentContextRequirement
Auto Trait Implementations§
impl Freeze for AgentContextRequirement
impl RefUnwindSafe for AgentContextRequirement
impl Send for AgentContextRequirement
impl Sync for AgentContextRequirement
impl Unpin for AgentContextRequirement
impl UnsafeUnpin for AgentContextRequirement
impl UnwindSafe for AgentContextRequirement
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