Skip to content

Settings

Application settings are stored in .runsight/settings.yaml. This file is created automatically during project scaffolding and is gitignored.

FieldTypeDefaultDescription
onboarding_completedboolfalseWhether the first-time setup flow has been completed. Controls whether the app redirects to the setup screen.
fallback_enabledboolfalseWhether runtime fallback is active. See Fallback.
auto_savebool | nullnullAuto-save preference (reserved for future use).

The same file stores per-provider fallback targets under a fallback_map key:

.runsight/settings.yaml
onboarding_completed: true
fallback_enabled: true
fallback_map:
- provider_id: anthropic
fallback_provider_id: openai
fallback_model_id: gpt-4.1-mini

Each entry in fallback_map has three fields:

FieldTypeDescription
provider_idstrThe provider this fallback applies to
fallback_provider_idstrThe provider to fall back to
fallback_model_idstrThe specific model to use on the fallback provider

See Fallback for how to configure fallback targets.

DataLocationGit tracked
Providerscustom/providers/*.yamlYes
API keys.runsight/secrets.envNo (gitignored)
App settings and fallback map.runsight/settings.yamlNo (gitignored)

Provider YAML files live inside custom/providers/ and are committed to git. API keys are stored as environment variable references (${OPENAI_API_KEY}) that resolve against the real environment first, then .runsight/secrets.env. See Providers for details.

MethodEndpointDescription
GET/settings/appGet current app settings
PUT/settings/appUpdate app settings (partial merge)
MethodEndpointDescription
GET/settings/providersList all providers
GET/settings/providers/{id}Get a single provider
POST/settings/providersCreate a provider
PUT/settings/providers/{id}Update a provider
DELETE/settings/providers/{id}Delete a provider
POST/settings/providers/{id}/testTest a saved provider connection
POST/settings/providers/testTest credentials before saving
MethodEndpointDescription
GET/settings/fallbacksList fallback targets for all active providers
PUT/settings/fallbacks/{provider_id}Set or clear a provider’s fallback target
MethodEndpointDescription
GET/settings/budgetsList budgets (placeholder — returns an empty list)