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.

Copyright (c) systemprompt.io โ€” Business Source License 1.1. See https://systemprompt.io for licensing details.

Functionsยง

build_registry
build_routes