pub enum RunObservation {
Outcome(OutcomeMetadata),
LlmCall(LlmCallObservation),
AnswerCall(LlmCallObservation),
RoutingOverhead(Duration),
}Expand description
Events emitted inline while [crate::run] serves a routing request.
Variants§
Outcome(OutcomeMetadata)
Metadata attached to the completed routing outcome.
LlmCall(LlmCallObservation)
A completed model call requested by the algorithm for routing work.
AnswerCall(LlmCallObservation)
A completed terminal model call made from the routing outcome.
RoutingOverhead(Duration)
Routing time recorded by the switchyard.routing_overhead_ms metric.
Trait Implementations§
Source§impl Clone for RunObservation
impl Clone for RunObservation
Auto Trait Implementations§
impl Forget for RunObservation
impl Freeze for RunObservation
impl Move for RunObservation
impl RefUnwindSafe for RunObservation
impl Send for RunObservation
impl Sync for RunObservation
impl Unpin for RunObservation
impl UnsafeUnpin for RunObservation
impl UnwindSafe for RunObservation
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