Skip to main content

build_driver

Function build_driver 

Source
pub fn build_driver(llm_config: &LlmConfig) -> Result<Arc<dyn LlmDriver>>
Expand description

Build the protocol driver for a resolved LLM configuration.

Anthropic models use the native Messages API when its runtime gate is on; all other configurations retain liter-llm’s compatible provider routing.