fix(seed): add TELEGRAM_BOT_TOKEN to seed key extraction (lost in #139 merge)
This commit is contained in:
parent
a29afa4b14
commit
6998480cad
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue