pub struct ManagerSelectionResponse {
pub selected_participant: Option<String>,
pub instruction: Option<String>,
pub finish: bool,
pub final_message: Option<String>,
}Expand description
The structured decision an LLM manager returns. Ported from Python’s
ManagerSelectionResponse; the orchestrator parses the manager agent’s JSON
output into this shape.
Fields§
§selected_participant: Option<String>The participant to speak next (None when finishing).
instruction: Option<String>An optional instruction for the selected participant.
finish: boolWhether the conversation should complete.
final_message: Option<String>The final answer text when finishing.
Trait Implementations§
Source§impl Clone for ManagerSelectionResponse
impl Clone for ManagerSelectionResponse
Source§fn clone(&self) -> ManagerSelectionResponse
fn clone(&self) -> ManagerSelectionResponse
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 Debug for ManagerSelectionResponse
impl Debug for ManagerSelectionResponse
Source§impl Default for ManagerSelectionResponse
impl Default for ManagerSelectionResponse
Source§fn default() -> ManagerSelectionResponse
fn default() -> ManagerSelectionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManagerSelectionResponse
impl<'de> Deserialize<'de> for ManagerSelectionResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ManagerSelectionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ManagerSelectionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ManagerSelectionResponse
impl Serialize for ManagerSelectionResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ManagerSelectionResponse
impl RefUnwindSafe for ManagerSelectionResponse
impl Send for ManagerSelectionResponse
impl Sync for ManagerSelectionResponse
impl Unpin for ManagerSelectionResponse
impl UnsafeUnpin for ManagerSelectionResponse
impl UnwindSafe for ManagerSelectionResponse
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