pub enum AgentInteractionMode {
RequestResponse,
Realtime,
}Expand description
Primary interaction pattern exposed by an Agent.
This describes how a runtime should present the agent, not how the agent is composed. Teams and workflows therefore retain their existing agent primitives while a realtime implementation can advertise audio-oriented interaction to generic servers and user interfaces.
Variants§
RequestResponse
A bounded request produces a bounded stream of response events.
Realtime
A long-lived bidirectional session may emit audio and transcript events.
Trait Implementations§
Source§impl Clone for AgentInteractionMode
impl Clone for AgentInteractionMode
Source§fn clone(&self) -> AgentInteractionMode
fn clone(&self) -> AgentInteractionMode
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 moreimpl Copy for AgentInteractionMode
Source§impl Debug for AgentInteractionMode
impl Debug for AgentInteractionMode
Source§impl Default for AgentInteractionMode
impl Default for AgentInteractionMode
Source§fn default() -> AgentInteractionMode
fn default() -> AgentInteractionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentInteractionMode
impl<'de> Deserialize<'de> for AgentInteractionMode
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 AgentInteractionMode
Source§impl PartialEq for AgentInteractionMode
impl PartialEq for AgentInteractionMode
Source§impl Serialize for AgentInteractionMode
impl Serialize for AgentInteractionMode
impl StructuralPartialEq for AgentInteractionMode
Auto Trait Implementations§
impl Freeze for AgentInteractionMode
impl RefUnwindSafe for AgentInteractionMode
impl Send for AgentInteractionMode
impl Sync for AgentInteractionMode
impl Unpin for AgentInteractionMode
impl UnsafeUnpin for AgentInteractionMode
impl UnwindSafe for AgentInteractionMode
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