Expand description
Shared option + request types for Blazen’s local-LLM backends.
Sits below blazen-llm-candle, blazen-llm-mistralrs, blazen-llm-llamacpp,
blazen-llm (orchestrator), and blazen-controlplane so that all five can
agree on a single strongly-typed shape for “options that apply to any local
LLM” (the LocalLlmOptions base) and “a typed request to materialise a
local model” (the LocalModelRequest carried through the factory seam in
blazen-llm::providers::factory).
Backend-specific knobs (e.g. candle’s force_safetensors, llama.cpp’s
n_gpu_layers, mistral.rs’s vision) stay on each backend’s own Options
struct, which embeds LocalLlmOptions via a pub base: LocalLlmOptions
field. Use the [LocalLlmOptionsBuilder] convenience type for ergonomic
construction.
Structs§
- Local
LlmOptions - Options shared by every local-LLM backend (
candle,mistralrs,llama.cpp). Embedded as thebasefield on each backend’s own*Optionsstruct. - Local
Model Request - A typed request to materialise a local model, carried through the
LocalModelFactoryseam inblazen-llm::providers::factory. Replaces the previous (provider: &str,model: &str) two-string signature so that downstream code (controlplaneManagerHandle, the per-binding facades) can plumb a fullLocalLlmOptionspayload through end-to-end.