pub struct ModelSelected {
pub tag: ModelTag,
pub endpoint: String,
pub model: String,
pub context_tokens: u64,
pub window_from: Option<String>,
pub max_output_tokens: Option<u64>,
pub ceiling_from: Option<String>,
pub input: InputKinds,
pub input_price: UsdMicros,
pub output_price: UsdMicros,
pub cache_read_price: UsdMicros,
pub cache_write_price: UsdMicros,
}Expand description
model_selected: this model answers for this tag, with the facts no
probe returns.
Fields§
§tag: ModelTag§endpoint: StringThe attached endpoint the model is called through.
model: StringThe model id as the endpoint spells it.
context_tokens: u64The context window; zero where nobody stated one.
window_from: Option<String>Which rung of the ladder stated the window, in the spelling
gateway::FigureSource::as_str owns. Absent when no rung did,
and on a line written before the key existed.
max_output_tokens: Option<u64>The output ceiling, written as null when none was resolved.
Read it through ModelSelected::ceiling, which owns what a
zero means.
ceiling_from: Option<String>Which rung of the ceiling ladder supplied the figure, in the
spelling gateway::OutputCeiling::word owns. Absent when no
rung did, and on a line written before the key existed.
input: InputKindsAbsent on a line written before the key existed, which replays as text-only rather than as a broken record.
input_price: UsdMicros§output_price: UsdMicros§cache_read_price: UsdMicros§cache_write_price: UsdMicros