fix(seed): add TELEGRAM_BOT_TOKEN to seed key extraction (lost in #139 merge)

This commit is contained in:
Sam & Claude 2026-06-25 07:23:41 +02:00
parent a29afa4b14
commit 6998480cad

View file

@ -2476,7 +2476,7 @@ if [ ! -f "$WORK_IMG" ]; then
# the API key lines to the seed. The seed importer merges them into
# both the operator's ~/.env and the daemon's provider.env at boot.
if [ -f /usr/local/etc/colibri/provider.env ]; then
grep -E '^(DEEPSEEK_API_KEY|OPENROUTER_API_KEY)=' \
grep -E '^(DEEPSEEK_API_KEY|OPENROUTER_API_KEY|TELEGRAM_BOT_TOKEN)=' \
/usr/local/etc/colibri/provider.env \
> "${_seed_agent_dir}/env" 2>/dev/null || true
if [ -s "${_seed_agent_dir}/env" ]; then