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). The result is written to services/ai/providers.yaml and services/ai/gateway.yaml; operators reshape it โ€” adding custom providers like minimax โ€” by editing those files or through admin config catalog / admin config gateway.

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

Functionsยง

build_registry
build_routes