bamboo_llm/resolved_model.rs
1use std::sync::Arc;
2
3use crate::provider::LLMProvider;
4
5/// A fully resolved model ready for LLM calls.
6///
7/// Contains both the provider instance and model name string, so call sites
8/// don't need to worry about routing — they just use `.provider` and `.model_name`.
9///
10/// Created by the unified resolver functions in `model_config_helper`.
11pub struct ResolvedModel {
12 pub provider: Arc<dyn LLMProvider>,
13 pub model_name: String,
14}