Skip to main content

Module catalog

Module catalog 

Source
Expand description

Default provider-registry and route generation for the setup wizard.

The model catalog (providers, models, pricing, capabilities) comes from the embedded canonical seed ProviderRegistry::default_seed; this module only selects the providers whose AI key was actually supplied and emits a matching GatewayRoute per provider, so the generated profile resolves and passes both ProviderRegistry::validate and GatewayConfig::validate (every route provider must exist in the registry). Operators reshape the result — adding custom providers like minimax — by editing profile.providers directly.

Functions§

build_registry
build_routes