pub struct ResolvedAgentModel {
pub requested_model: String,
pub provider_model: String,
pub provider: AgentProvider,
pub context_window_tokens: u64,
pub max_input_tokens: u64,
}Expand description
Exact provider model and capacity selected for an agent request.
Fields§
§requested_model: StringCaller-supplied model selector.
provider_model: StringExact provider model identifier.
provider: AgentProviderSelected provider.
context_window_tokens: u64Total context window.
max_input_tokens: u64Maximum input allowed by Kennedy.
Trait Implementations§
Source§impl Clone for ResolvedAgentModel
impl Clone for ResolvedAgentModel
Source§fn clone(&self) -> ResolvedAgentModel
fn clone(&self) -> ResolvedAgentModel
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 ResolvedAgentModel
impl Debug for ResolvedAgentModel
impl Eq for ResolvedAgentModel
Source§impl PartialEq for ResolvedAgentModel
impl PartialEq for ResolvedAgentModel
impl StructuralPartialEq for ResolvedAgentModel
Auto Trait Implementations§
impl Freeze for ResolvedAgentModel
impl RefUnwindSafe for ResolvedAgentModel
impl Send for ResolvedAgentModel
impl Sync for ResolvedAgentModel
impl Unpin for ResolvedAgentModel
impl UnsafeUnpin for ResolvedAgentModel
impl UnwindSafe for ResolvedAgentModel
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,
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.