Skip to main content

factory_for_choice

Function factory_for_choice 

Source
pub fn factory_for_choice(
    choice: LlmBackendKindFactory,
) -> Result<Box<dyn LlmBackendFactory>, AppError>
Expand description

Factory dispatcher — converts a CLI enum value into a boxed factory. This is the integration point used by composite_backend.rs and by the 6 commands that consume --llm-backend.