Skip to content

config.csv Format 🟑 BETA

Edit a bot's config.csv in its ALM repository, let the Drive monitor reload it, and read the value back through the running bot.

Admin guide Β· configuration runbook

When to use Before you start Steps Verify Roll back
Changing bot behaviour, after a wrong value takes effect Bot repo and Drive credentials Edit in repo, push, read back Value observed in the running bot Revert the commit and push

When to use

Use this runbook when a bot must read a different configuration value. Do not use it for secrets: those belong in Vault.

Before you start

  • config.csv lives in the bot's .gbot/ tree. For git-owned bots that tree is materialised from the ALM repository; a direct edit in Drive is archived on the next sync.
  • The Drive monitor reloads on ETag change in about 10 seconds. A botserver restart is not the remedy for a config change.
  • Only write keys the code reads. llm-url, llm-model and llm-key are read by the LLM path; a key that has no consumer is not a setting.
  • Read the current key set from configuration management and the parameter reference.

Steps

# 1. Inspect the committed file in the bot's ALM repository.
git -C <bot-repo> show HEAD:.gbot/config.csv

# 2. Edit it there: two columns, name,value. Keep sensitive values out.
#    llm-url,<provider-chat-completions-url>
#    llm-model,<model-id>
#    Keep empty rows and comments for readability; the parser reads rows only.

# 3. Commit and push. The monitor materialises the change within about 15 s.
git -C <bot-repo> add .gbot/config.csv
git -C <bot-repo> commit -m "config: update bot settings"
git -C <bot-repo> push origin main

# 4. Watch the reload and read the value back in a test turn.
grep -E "drive_monitor|config.csv|ERROR" botserver.log | tail -30

Verify

Check Command / surface Pass condition
Source of truth git show HEAD:.gbot/config.csv value committed in the ALM repo
Reload botserver.log Drive monitor observed the change
No restart process start time botserver was not restarted
Read-back test turn bot uses the new value
LLM keys LLM configuration overview keys match the documented consumers
Secrets file contents no token, password or key value

Roll back

πŸ”΄ Revert config.csv in the bot's ALM repository and push; the monitor materialises the previous version. Do not restore by writing into Drive, and do not restart botserver for a config-only change.