pub enum RealtimeSessionMaxResponseOutputTokens {
Integer(u64),
Inf,
}
Expand description
Maximum number of output tokens for a single assistant response,
inclusive of tool calls. Provide an integer between 1 and 4096 to
limit output tokens, or inf
for the maximum available tokens for a
given model. Defaults to inf
.
Variants§
Trait Implementations§
Source§impl Clone for RealtimeSessionMaxResponseOutputTokens
impl Clone for RealtimeSessionMaxResponseOutputTokens
Source§fn clone(&self) -> RealtimeSessionMaxResponseOutputTokens
fn clone(&self) -> RealtimeSessionMaxResponseOutputTokens
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for RealtimeSessionMaxResponseOutputTokens
impl<'de> Deserialize<'de> for RealtimeSessionMaxResponseOutputTokens
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
Source§impl PartialEq for RealtimeSessionMaxResponseOutputTokens
impl PartialEq for RealtimeSessionMaxResponseOutputTokens
Source§fn eq(&self, other: &RealtimeSessionMaxResponseOutputTokens) -> bool
fn eq(&self, other: &RealtimeSessionMaxResponseOutputTokens) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeSessionMaxResponseOutputTokens
impl StructuralPartialEq for RealtimeSessionMaxResponseOutputTokens
Auto Trait Implementations§
impl Freeze for RealtimeSessionMaxResponseOutputTokens
impl RefUnwindSafe for RealtimeSessionMaxResponseOutputTokens
impl Send for RealtimeSessionMaxResponseOutputTokens
impl Sync for RealtimeSessionMaxResponseOutputTokens
impl Unpin for RealtimeSessionMaxResponseOutputTokens
impl UnwindSafe for RealtimeSessionMaxResponseOutputTokens
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