pub struct ModelCalled {
pub provider_account: Option<ProviderAccountBinding>,
pub segments: Vec<B3Hash>,
pub model: String,
}Expand description
model_called: which prefix went out, under which model name.
The request body is deliberately absent: it is reconstructible from
PromptAssembled plus the window, and a copy of it here would be
the second home of every message the run ever sent.
Fields§
§provider_account: Option<ProviderAccountBinding>The account attempted, never its credential or reference.
segments: Vec<B3Hash>The four segment hashes, in prefix order.
model: StringThe endpoint’s own model id; absent in legacy incomplete call records.
Trait Implementations§
Source§impl Clone for ModelCalled
impl Clone for ModelCalled
Source§impl Debug for ModelCalled
impl Debug for ModelCalled
Source§impl<'de> Deserialize<'de> for ModelCalled
impl<'de> Deserialize<'de> for ModelCalled
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 ModelCalled
Source§impl PartialEq for ModelCalled
impl PartialEq for ModelCalled
Source§impl Serialize for ModelCalled
impl Serialize for ModelCalled
impl StructuralPartialEq for ModelCalled
Auto Trait Implementations§
impl Freeze for ModelCalled
impl RefUnwindSafe for ModelCalled
impl Send for ModelCalled
impl Sync for ModelCalled
impl Unpin for ModelCalled
impl UnsafeUnpin for ModelCalled
impl UnwindSafe for ModelCalled
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