yomo 2.0.6

A QUIC-based runtime for AI-LLM tool routing and serverless execution
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Clone, Debug)]
pub struct SelectionResult {
    pub model_id: String,
}

pub use crate::llm_provider::selection::SelectionError;

pub trait SelectionStrategy<M>: Send + Sync {
    fn select(
        &self,
        endpoint: &str,
        model_id: Option<&str>,
        metadata: &M,
    ) -> Result<SelectionResult, SelectionError>;
}