77 lines
2.7 KiB
Markdown
77 lines
2.7 KiB
Markdown
sudo docker exec -it openclaw-openclaw-1 /bin/bash
|
|
docker exec -it openclaw /bin/bash
|
|
|
|
docker exec openclaw openclaw config set gateway.auth.token "ogt_cc2a54883345b1dfc409f716b08d4104d6dfd94cea47da80ee99c98fda1a1384"
|
|
|
|
docker exec openclaw openclaw config set agents.defaults.model.primary "openrouter/free"
|
|
docker exec openclaw openclaw config get agents.defaults.model.primary
|
|
|
|
docker exec openclaw openclaw config set gateway.controlUi.allowInsecureAuth false
|
|
|
|
docker compose logs openclaw --tail=25
|
|
|
|
docker exec -it openclaw openclaw onboard --auth-choice gemini-api-key
|
|
|
|
# Step 1 — List pending pairing requests first
|
|
docker exec -it openclaw openclaw pairing list telegram
|
|
|
|
# Step 2 — Approve with your code
|
|
docker exec -it openclaw openclaw pairing approve telegram PW864DGY
|
|
|
|
docker exec -it --user root openclaw bash -c "apt-get update && apt-get install -y at cron"
|
|
docker exec -it --user root openclaw bash -c "apt-get update && apt-get install -y sh"
|
|
|
|
|
|
### use nvidia
|
|
# Set NVIDIA API key
|
|
docker exec openclaw openclaw config set models.providers.nvidia.baseUrl "https://integrate.api.nvidia.com/v1"
|
|
docker exec openclaw openclaw config set models.providers.nvidia.apiKey "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"
|
|
docker exec openclaw openclaw config set models.providers.nvidia.api "openai-completions"
|
|
|
|
# Set as primary model
|
|
docker exec openclaw openclaw config set agents.defaults.model.primary "nvidia/meta/llama-4-scout-17b-16e-instruct"
|
|
|
|
|
|
# If accessing via IP
|
|
docker exec openclaw openclaw config set gateway.controlUi.allowedOrigins '["*"]'
|
|
|
|
# OR specific domain (more secure)
|
|
docker exec openclaw openclaw config set gateway.controlUi.allowedOrigins '["https://lejin82.ooguy.com/", "http://openclaw:8080"]'
|
|
|
|
http://ollama:11434
|
|
|
|
openclaw configure
|
|
openclaw gateway restart
|
|
openclaw onboard
|
|
|
|
openclaw models status
|
|
|
|
# remove heartbeat
|
|
openclaw config set agents.defaults.heartbeat.every "0m"
|
|
openclaw config set channels.defaults.heartbeat.showOk false
|
|
openclaw config set channels.defaults.heartbeat.showAlerts false
|
|
openclaw config set channels.defaults.heartbeat.useIndicator false
|
|
openclaw gateway restart
|
|
|
|
|
|
openclaw config set gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback true
|
|
openclaw gateway restart
|
|
|
|
openclaw skills list --eligible
|
|
|
|
openclaw config set gateway.bind lan
|
|
openclaw gateway status
|
|
|
|
openclaw status
|
|
|
|
openclaw config set gateway.trustedProxies '["127.0.0.1","::1"]'
|
|
openclaw config set channels.telegram.groupAllowFrom '[795409110]'
|
|
|
|
openclaw devices list
|
|
openclaw devices approve 30310d90-e843-48b8-a32c-f44a73c94409
|
|
|
|
openclaw config set gateway.mode local
|
|
openclaw doctor --fix
|
|
openclaw gateway probe
|
|
|