pub struct ResolvedModel {
pub info: ModelInfo,
pub source: ResolvedSource,
}Expand description
Capabilities bound to one execution attempt (Go *registry.ModelInfo stored under a
request metadata key).
Fields§
§info: ModelInfoGo’s modelconfig.ResolveModelInfo snapshot for configured API-key models (the
static definition of the suffix-free upstream name, renamed to it, typed for the
provider, configured thinking normalized, never user-defined), or the static
Codex plan catalog entry for Codex OAuth. info.raw carries is_compat and
support_configuration_update when set; info.is_compat() is Go’s
helps.APIKeyModelIsCompat.
source: ResolvedSourceImplementations§
Trait Implementations§
Source§impl Clone for ResolvedModel
impl Clone for ResolvedModel
Auto Trait Implementations§
impl Forget for ResolvedModel
impl Freeze for ResolvedModel
impl Move for ResolvedModel
impl RefUnwindSafe for ResolvedModel
impl Send for ResolvedModel
impl Sync for ResolvedModel
impl Unpin for ResolvedModel
impl UnsafeUnpin for ResolvedModel
impl UnwindSafe for ResolvedModel
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