Skip to content

Configuration Parameters 🟑 BETA

Look up a parameter by finding its consumer in source, then verify the value the running bot actually reads.

Admin guide Β· parameter lookup runbook

When to use Before you start Steps Verify Roll back
Setting a bot parameter, checking a key name Source checkout, bot repo Grep the key, identify its source, change and read back Value observed in the running bot Revert in the authoritative source

When to use

Use this runbook before adding a key to a bot's configuration. A key with no consumer outside its declaration is not a setting; delete the claim instead.

Before you start

  • The authoritative key set is the get_config calls in botserver/src and botserver/crates. Read those calls; do not copy a table from an older page.
  • Secrets belong in Vault-backed per-bot configuration, never in a committed file.
  • The values below are examples of keys that are actually read. They are not an exhaustive list and carry no invented defaults.
  • Use config.csv for bot behaviour and environment variables for process settings.

Steps

# 1. Find every consumer of the key you intend to set.
grep -RIn '"<key-name>"' botserver/src botserver/crates --include='*.rs' | head -30

# 2. Identify the source layer for that consumer (Vault, env or bot config).
# 3. Change the value in that source only.
# 4. Read it back in a test turn; for a provider built at boot, restart the
#    caching process.
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:8080/health

Parameter families

Family Keys read in source Authority
LLM llm-url, llm-model, llm-key LLM pipeline and runtime_llm.rs
SMS sms-provider, sms-default-priority botbasic_comms/src/keywords/sms/
Twilio twilio-account-sid, twilio-auth-token, twilio-from-number send_via_twilio.rs
AWS SNS aws-access-key, aws-secret-key, aws-region SMS senders
Vonage vonage-api-key, vonage-api-secret, vonage-from-number SMS senders
MessageBird messagebird-api-key, messagebird-originator SMS senders
Teams teams-app-id, teams-app-password, teams-bot-id, teams-tenant-id botmsteams
Integrations connection rows with a Vault vault_path botintegrations

Required vs Optional

A key is required only where the consumer returns an error without it. Read the consumer; a "required" label in prose is not evidence.

Configuration Precedence

Vault per-bot β†’ Vault nil path β†’ Vault global β†’ environment fallback β†’ bot config value. Verify the order in ConfigManager::get_config.

Parameter Types

Values are strings in the configuration file; coercion happens in the consumer. Do not assume a boolean or numeric type without reading the parser.

Performance Tuning

Do not record a chunk size, top-k, threshold or VRAM number unless it is a constant in the source or a value in the deployment. The system limits page points to the enforced constants.

Validation Rules

After setting a value, run one operation that consumes it. A value that parses but is never read is a failed change.

Verify

Check Command / surface Pass condition
Consumer source grep key has a use site
Source Vault / env / config value set in the layer the consumer reads
Read-back test turn new value observed
Secrets repository search no credential value committed
Health /health 200 after a provider restart

Roll back

πŸ”΄ Restore the prior value in its own source and repeat the table. A leaked credential is rotated with the rotation runbook.