mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-22 03:14:57 +00:00
fix: use consistent progress message in local/ scripts (#924)
Replace misleading "Appending environment variables to ~/.zshrc..." with "Setting up environment variables..." to match all other cloud providers. The old message incorrectly specified ~/.zshrc which could confuse bash users. Agent: ux-engineer Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
efdb14f0e6
commit
49b7a0f7be
8 changed files with 8 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ else
|
|||
fi
|
||||
|
||||
# 4. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"ANTHROPIC_BASE_URL=https://openrouter.ai/api" \
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ else
|
|||
fi
|
||||
|
||||
# 5. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENAI_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"OPENAI_BASE_URL=https://openrouter.ai/api/v1" \
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ else
|
|||
fi
|
||||
|
||||
# 5. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}"
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ else
|
|||
fi
|
||||
|
||||
# 4. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"GEMINI_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ else
|
|||
fi
|
||||
|
||||
# 4. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"GOOSE_PROVIDER=openrouter" \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ else
|
|||
fi
|
||||
|
||||
# 4. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"KILO_PROVIDER_TYPE=openrouter" \
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ else
|
|||
fi
|
||||
|
||||
# 6. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"ANTHROPIC_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ fi
|
|||
MODEL_ID=$(get_model_id_interactive "openrouter/auto" "Openclaw") || exit 1
|
||||
|
||||
# 6. Inject environment variables
|
||||
log_step "Appending environment variables to ~/.zshrc..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_local upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"ANTHROPIC_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue