Expand description
Reconcile services/ai/config.yaml with the provider chosen during setup.
admin setup generates the profile and secrets, but the AI
service layer reads services/ai/config.yaml for its default_provider and
per-provider enabled flags. When the operator picks a default provider,
align that file: make the choice the default and disable the standard
providers whose keys were not supplied. Custom providers (e.g. minimax)
and every other field are left untouched. An absent file is a no-op —
minimal instances need not ship one.
Functions§
- apply_
ai_ defaults - Custom providers (e.g.
minimax) and every field other than the standard providers’enabledflag are left untouched.