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

Merged
clawdie merged 1 commit from fix/telegram-seed into main 2026-06-25 07:24:24 +02:00

View file

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