pub struct AgentTurnRequest {
pub model: String,
pub input: String,
pub reasoning_effort: String,
pub tools: Vec<AgentTool>,
}Expand description
One non-streaming OpenAI text/tool turn.
Fields§
§model: StringExact OpenAI model identifier.
input: StringComplete input for this stateless turn.
reasoning_effort: StringOpenAI reasoning effort, such as low, medium, or high.
tools: Vec<AgentTool>Functions available to the model.
Implementations§
Trait Implementations§
Source§impl Clone for AgentTurnRequest
impl Clone for AgentTurnRequest
Source§fn clone(&self) -> AgentTurnRequest
fn clone(&self) -> AgentTurnRequest
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 AgentTurnRequest
impl Debug for AgentTurnRequest
impl Eq for AgentTurnRequest
Source§impl PartialEq for AgentTurnRequest
impl PartialEq for AgentTurnRequest
impl StructuralPartialEq for AgentTurnRequest
Auto Trait Implementations§
impl Freeze for AgentTurnRequest
impl RefUnwindSafe for AgentTurnRequest
impl Send for AgentTurnRequest
impl Sync for AgentTurnRequest
impl Unpin for AgentTurnRequest
impl UnsafeUnpin for AgentTurnRequest
impl UnwindSafe for AgentTurnRequest
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