pub struct ProviderReq {
pub envelope: Envelope,
pub prompt: Option<Value>,
pub vars: Value,
pub params: Value,
pub test: TestRef,
pub tools: Vec<ToolDef>,
}Expand description
A provider request written to the child’s stdin.
Fields§
§envelope: Envelope§prompt: Option<Value>None when the suite has no prompts (self-input case).
vars: Value§params: Value§test: TestRef§tools: Vec<ToolDef>Tools the suite declared for this call, or empty when it declared none.
Offering them is the child’s job; domarinn does not run an agent loop
and never executes a tool. What it wants back is tool_calls — the
decision the model made, which is the thing an evaluation grades.
Trait Implementations§
Source§impl Clone for ProviderReq
impl Clone for ProviderReq
Source§fn clone(&self) -> ProviderReq
fn clone(&self) -> ProviderReq
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 ProviderReq
impl Debug for ProviderReq
Source§impl<'de> Deserialize<'de> for ProviderReq
impl<'de> Deserialize<'de> for ProviderReq
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
Auto Trait Implementations§
impl Freeze for ProviderReq
impl RefUnwindSafe for ProviderReq
impl Send for ProviderReq
impl Sync for ProviderReq
impl Unpin for ProviderReq
impl UnsafeUnpin for ProviderReq
impl UnwindSafe for ProviderReq
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