Expand description
Shared load/save for the services files the admin config catalog and
admin config gateway setters edit.
The provider catalog and gateway routes are services-tree files
(ai/providers.yaml, ai/gateway.yaml), not profile sections. Each setter
loads its one file typed, mutates it, validates the result against the
merged services config the process booted with — so a route naming a
provider declared in another include still validates — and writes the file
back. A file created by an edit is appended to the root includes: so the
next boot actually loads it.
Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.