Skip to main content

Module registry

Module registry 

Source
Expand description

Provider registry for multi-provider LLM management.

This module provides a ProviderRegistry that maps provider IDs to their connection configurations, enabling per-agent provider selection with fallback chains. It integrates with LlmConfig for the liter-llm client and enriches provider records with data from the compile-time ModelCatalog.

Structs§

ModelConfig
Configuration for a single model within a provider.
ProviderConfig
Configuration for a single LLM provider.
ProviderRegistry
Registry that maps provider IDs to their connection configurations.

Enums§

ProtocolSetting
Protocol setting for config deserialization.

Functions§

split_model_string_pub
Public wrapper for split_model_string (used by resolve_requested_model in server.rs).