pub struct RuntimeHints {
pub trace_id: Option<String>,
pub prompt_cache_key: Option<String>,
pub auto_compact_token_limit: Option<u32>,
pub profile: RuntimeProfile,
pub parallel_tool_calls: Option<bool>,
pub hosted_web_search: HostedWebSearchConfig,
pub tool_search: ToolSearchConfig,
pub speed_policy: Option<SpeedPolicyDecision>,
pub deadline_remaining_seconds: Option<u64>,
pub reliability: Option<ReliabilityRequestPolicy>,
pub service_tier: Option<String>,
}Fields§
§trace_id: Option<String>§prompt_cache_key: Option<String>§auto_compact_token_limit: Option<u32>§profile: RuntimeProfile§parallel_tool_calls: Option<bool>§hosted_web_search: HostedWebSearchConfig§tool_search: ToolSearchConfig§speed_policy: Option<SpeedPolicyDecision>§deadline_remaining_seconds: Option<u64>§reliability: Option<ReliabilityRequestPolicy>§service_tier: Option<String>Provider service tier requested for this call (OpenAI service_tier,
e.g. "priority" for Fast mode, "flex", "default", "auto").
None leaves the provider default. Providers that have no tier
concept ignore it; the tier actually served is reported on
TokenUsage::service_tier.
Trait Implementations§
Source§impl Clone for RuntimeHints
impl Clone for RuntimeHints
Source§impl Debug for RuntimeHints
impl Debug for RuntimeHints
Source§impl Default for RuntimeHints
impl Default for RuntimeHints
Source§impl<'de> Deserialize<'de> for RuntimeHints
impl<'de> Deserialize<'de> for RuntimeHints
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 RuntimeHints
Source§impl PartialEq for RuntimeHints
impl PartialEq for RuntimeHints
Source§impl Serialize for RuntimeHints
impl Serialize for RuntimeHints
impl StructuralPartialEq for RuntimeHints
Auto Trait Implementations§
impl Freeze for RuntimeHints
impl RefUnwindSafe for RuntimeHints
impl Send for RuntimeHints
impl Sync for RuntimeHints
impl Unpin for RuntimeHints
impl UnsafeUnpin for RuntimeHints
impl UnwindSafe for RuntimeHints
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.