Spaces:
Sleeping
Sleeping
Somrat Sorkar commited on
Commit Β·
abf5aa0
1
Parent(s): b19cd4a
Fix provider names to match OpenRouter API (z-ai, mistralai, moonshotai, deepseek, meta-llama, etc.)
Browse filesFiles changed (3)
- .env.example+98-53
- README.md+95-79
- start.sh+39-41
12 unmodified lines131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979812 unmodified lines# [REQUIRED] LLM model to use (format: provider/model-name)# Auto-detects provider from prefix β any provider is supported!## Anthropic Claude:# - anthropic/claude-opus-4-6# - anthropic/claude-sonnet-4-5# - anthropic/claude-haiku-4-5## OpenAI:# - openai/gpt-4-turbo# - openai/gpt-4# - openai/gpt-3.5-turbo## Google Gemini:# - google/gemini-2.5-flash# - google/gemini-2.0-flash# - google/gemini-1.5-pro## Zhipu (ChatGLM) / ZAI:# - zhipu/glm-4-plus# - zhipu/glm-4# - zai/glm-4 (alias)## Moonshot (Kimi):# - moonshot/moonshot-v1-128k# - moonshot/moonshot-v1-32k## MiniMax:# - minimax/minimax-01# - minimax/minimax-text-01## Mistral:# - mistral/mistral-large# - mistral/mistral-medium# - mistral/mistral-small## Cohere:# - cohere/command-r# - cohere/command-r-plus## Groq:# - groq/mixtral-8x7b-32768# - groq/llama2-70b-4096## Qwen:# - qwen/qwen3.6-plus-preview (free, 1M context)# - qwen/qwen3.5-35b-a3b# - qwen/qwen3.5-9b## xAI Grok:# - x-ai/grok-4.20-beta# - x-ai/grok-4.20-multi-agent-beta## NVIDIA:# - nvidia/nemotron-3-super-120b-a12b# - nvidia/nemotron-3-super-120b-a12b (free)## Reka:# - reka/reka-edge## Xiaomi:# - xiaomi/mimo-v2-pro (1M context)# - xiaomi/mimo-v2-omni (256K context, multimodal)## ByteDance Seed:# - bytedance-seed/seed-2.0-lite# - bytedance-seed/seed-2.0-mini## Z.ai GLM:# - z-ai/glm-5-turbo## KwaiPilot:# - kwaipilot/kat-coder-pro-v2## OpenRouter (any model via OpenRouter proxy):# - openrouter/google/lyria-3-pro-preview (music generation)# - openrouter/inception/mercury-2 (fast reasoning)# Note: With OpenRouter, you can access 100+ models with a single API key!# See https://openrouter.ai/models for complete list## Or any other provider supported by OpenClaw (format: provider/model-name)LLM_MODEL=anthropic/claude-sonnet-4-5# [REQUIRED] Gateway authentication token# Generate: openssl rand -hex 3212 unmodified lines13141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214312 unmodified lines# [REQUIRED] LLM model to use (format: provider/model-name)# Auto-detects provider from prefix β any provider is supported!# Model IDs sourced from https://openrouter.ai/api/v1/models## ββ Top-Tier Providers ββ## Anthropic Claude:# - anthropic/claude-opus-4.6# - anthropic/claude-sonnet-4.6# - anthropic/claude-sonnet-4.5# - anthropic/claude-haiku-4.5## OpenAI:# - openai/gpt-5.4-pro (1M context)# - openai/gpt-5.4 (1M context)# - openai/gpt-5.4-mini# - openai/gpt-5.4-nano# - openai/gpt-4.1# - openai/gpt-4.1-mini# - openai/gpt-4.1-nano## Google Gemini:# - google/gemini-3.1-pro-preview# - google/gemini-3.1-flash-lite-preview# - google/gemini-2.5-pro# - google/gemini-2.5-flash## DeepSeek:# - deepseek/deepseek-v3.2# - deepseek/deepseek-r1-0528# - deepseek/deepseek-r1# - deepseek/deepseek-chat-v3.1## ββ Chinese/Asian Providers ββ## Qwen (Alibaba):# - qwen/qwen3.6-plus-preview:free (1M context, free!)# - qwen/qwen3-max# - qwen/qwen3-coder# - qwen/qwen3.5-397b-a17b# - qwen/qwen3.5-35b-a3b## Z.ai (GLM):# - z-ai/glm-5# - z-ai/glm-5-turbo# - z-ai/glm-4.7# - z-ai/glm-4.7-flash# - z-ai/glm-4.5-air:free (free!)## Moonshot (Kimi):# - moonshotai/kimi-k2.5# - moonshotai/kimi-k2# - moonshotai/kimi-k2-thinking## Xiaomi (MiMo):# - xiaomi/mimo-v2-pro (1M context)# - xiaomi/mimo-v2-omni (multimodal)# - xiaomi/mimo-v2-flash## ByteDance Seed:# - bytedance-seed/seed-2.0-lite# - bytedance-seed/seed-2.0-mini## Baidu (ERNIE):# - baidu/ernie-4.5-300b-a47b# - baidu/ernie-4.5-21b-a3b## Tencent:# - tencent/hunyuan-a13b-instruct## StepFun:# - stepfun/step-3.5-flash# - stepfun/step-3.5-flash:free (free!)## ββ Western Providers ββ## Mistral:# - mistralai/mistral-large-2512# - mistralai/mistral-medium-3.1# - mistralai/mistral-small-2603# - mistralai/devstral-medium (coding)# - mistralai/codestral-2508## xAI (Grok):# - x-ai/grok-4.20-beta# - x-ai/grok-4.20-multi-agent-beta# - x-ai/grok-4.1-fast# - x-ai/grok-4## Meta (Llama):# - meta-llama/llama-4-maverick# - meta-llama/llama-4-scout# - meta-llama/llama-3.3-70b-instruct## NVIDIA:# - nvidia/nemotron-3-super-120b-a12b# - nvidia/nemotron-3-super-120b-a12b:free (free!)## Cohere:# - cohere/command-a# - cohere/command-r-plus-08-2024## Perplexity:# - perplexity/sonar-deep-research# - perplexity/sonar-pro## MiniMax:# - minimax/minimax-m2.7# - minimax/minimax-m2.5# - minimax/minimax-m2.5:free (free!)## ββ Speed & Specialty ββ## Inception (ultra-fast reasoning):# - inception/mercury-2 (1000+ tok/sec)# - inception/mercury-coder## Amazon:# - amazon/nova-premier-v1# - amazon/nova-pro-v1## ββ OpenRouter (100+ models via single API key) ββ# Use any model above via OpenRouter with a single API key!# See https://openrouter.ai/models for complete list## Or any other provider β format: provider/model-name (auto-detected)LLM_MODEL=anthropic/claude-sonnet-4.5# [REQUIRED] Gateway authentication token# Generate: openssl rand -hex 32
117 unmodified lines1181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242251 unmodified line227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266117 unmodified lines## π€ LLM Provider SetupJust set `LLM_MODEL` with the correct provider prefix β **any provider is supported**! The provider is auto-detected from the model name.### Anthropic (Claude)```LLM_API_KEY=sk-ant-v0-...LLM_MODEL=anthropic/claude-haiku-4-5```Models: `anthropic/claude-opus-4-6` Β· `anthropic/claude-sonnet-4-5` Β· `anthropic/claude-haiku-4-5`### OpenAI```LLM_API_KEY=sk-...LLM_MODEL=openai/gpt-4```Models: `openai/gpt-4-turbo` Β· `openai/gpt-4` Β· `openai/gpt-3.5-turbo`### Google (Gemini)```LLM_API_KEY=AIzaSy...LLM_MODEL=google/gemini-2.5-flash```Models: `google/gemini-2.5-flash` Β· `google/gemini-2.0-flash` Β· `google/gemini-1.5-pro`### Zhipu (ChatGLM) / ZAI```LLM_API_KEY=your_zhipu_api_keyLLM_MODEL=zhipu/glm-4-plus```Models: `zhipu/glm-4-plus` Β· `zhipu/glm-4` Β· `zai/glm-4` (alias)Get key from: [Zhipu Platform](https://open.bigmodel.cn)### Moonshot (Kimi)```LLM_API_KEY=sk-...LLM_MODEL=moonshot/moonshot-v1-128k```Models: `moonshot/moonshot-v1-128k` Β· `moonshot/moonshot-v1-32k`Get key from: [Moonshot API](https://platform.moonshot.cn)### MiniMax```LLM_API_KEY=your_minimax_api_keyLLM_MODEL=minimax/minimax-01```Models: `minimax/minimax-01` Β· `minimax/minimax-text-01`Get key from: [MiniMax Platform](https://api.minimaxi.com)### Mistral```LLM_API_KEY=your_mistral_api_keyLLM_MODEL=mistral/mistral-large```Models: `mistral/mistral-large` Β· `mistral/mistral-medium` Β· `mistral/mistral-small`Get key from: [Mistral Console](https://console.mistral.ai)### Cohere```LLM_API_KEY=your_cohere_api_keyLLM_MODEL=cohere/command-r```Models: `cohere/command-r` Β· `cohere/command-r-plus`Get key from: [Cohere Dashboard](https://dashboard.cohere.com)### Groq```LLM_API_KEY=your_groq_api_keyLLM_MODEL=groq/mixtral-8x7b-32768```Models: `groq/mixtral-8x7b-32768` Β· `groq/llama2-70b-4096`Get key from: [Groq Console](https://console.groq.com)### Qwen```LLM_API_KEY=your_qwen_api_keyLLM_MODEL=qwen/qwen3.6-plus-preview```Models: `qwen/qwen3.6-plus-preview` (free!) Β· `qwen/qwen3.5-35b-a3b` Β· `qwen/qwen3.5-9b`Get key from: [Qwen API](https://dashscope.aliyun.com)### xAI (Grok)```LLM_API_KEY=your_xai_api_keyLLM_MODEL=x-ai/grok-4.20-beta```Models: `x-ai/grok-4.20-beta` Β· `x-ai/grok-4.20-multi-agent-beta`Get key from: [xAI Console](https://console.x.ai)### NVIDIA (Nemotron)```LLM_API_KEY=your_nvidia_api_keyLLM_MODEL=nvidia/nemotron-3-super-120b-a12b```Models: `nvidia/nemotron-3-super-120b-a12b` Β· `nvidia/nemotron-3-super-120b-a12b` (free)Get key from: [NVIDIA API](https://api.nvidia.com)### Xiaomi (MiMo)```LLM_API_KEY=your_xiaomi_api_keyLLM_MODEL=xiaomi/mimo-v2-pro```Models: `xiaomi/mimo-v2-pro` (1M context) Β· `xiaomi/mimo-v2-omni` (multimodal)Get key from: [Xiaomi](https://xiaoai.xiaomi.com)### ByteDance (Seed)```1 unmodified lineLLM_MODEL=bytedance-seed/seed-2.0-lite```Models: `bytedance-seed/seed-2.0-lite` Β· `bytedance-seed/seed-2.0-mini`Get key from: [ByteDance](https://www.volcengine.com)### Z.ai (GLM)```LLM_API_KEY=your_zai_api_keyLLM_MODEL=z-ai/glm-5-turbo```Models: `z-ai/glm-5-turbo`Get key from: [Z.ai](https://z.ai)### OpenRouter (100+ models via single API)```LLM_API_KEY=your_openrouter_api_keyLLM_MODEL=openrouter/google/lyria-3-pro-preview```**Popular models via OpenRouter:**- `openrouter/openai/gpt-5.4-pro` β Latest OpenAI (1M context)- `openrouter/openai/gpt-5.4-mini` β Fast, efficient OpenAI- `openrouter/google/gemini-3.1-flash-lite-preview` β Google's latest- `openrouter/anthropic/claude-opus-4-6` β Latest Claude via OpenRouter- `openrouter/mistral/mistral-small-2603` β Mistral's latest- `openrouter/inception/mercury-2` β Ultra-fast reasoning (1000 tok/sec)- `openrouter/qwen/qwen3.6-plus-preview` β Free tier available!- `openrouter/x-ai/grok-4.20-beta` β xAI's latest Grok- `openrouter/nvidia/nemotron-3-super-120b-a12b` β NVIDIA's powerhouse- `openrouter/xiaomi/mimo-v2-pro` β Xiaomi's 1M context model**Why OpenRouter?**- Single API key for 100+ models- Unified pricing and routing- Auto-fallback to other models- No vendor lock-inGet key from: [OpenRouter.ai](https://openrouter.ai) (free tier available!)### Any Other ProviderHuggingClaw supports **any LLM provider** that OpenClaw supports. Just use:117 unmodified lines1181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382391 unmodified line241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282117 unmodified lines## π€ LLM Provider SetupJust set `LLM_MODEL` with the correct provider prefix β **any provider is supported**! The provider is auto-detected from the model name. All model IDs sourced from [OpenRouter](https://openrouter.ai/models).### Anthropic (Claude)```LLM_API_KEY=sk-ant-v0-...LLM_MODEL=anthropic/claude-sonnet-4.5```Models: `anthropic/claude-opus-4.6` Β· `anthropic/claude-sonnet-4.6` Β· `anthropic/claude-sonnet-4.5` Β· `anthropic/claude-haiku-4.5`### OpenAI```LLM_API_KEY=sk-...LLM_MODEL=openai/gpt-5.4```Models: `openai/gpt-5.4-pro` Β· `openai/gpt-5.4` Β· `openai/gpt-5.4-mini` Β· `openai/gpt-5.4-nano` Β· `openai/gpt-4.1` Β· `openai/gpt-4.1-mini`### Google (Gemini)```LLM_API_KEY=AIzaSy...LLM_MODEL=google/gemini-2.5-flash```Models: `google/gemini-3.1-pro-preview` Β· `google/gemini-3.1-flash-lite-preview` Β· `google/gemini-2.5-pro` Β· `google/gemini-2.5-flash`### DeepSeek```LLM_API_KEY=sk-...LLM_MODEL=deepseek/deepseek-v3.2```Models: `deepseek/deepseek-v3.2` Β· `deepseek/deepseek-r1-0528` Β· `deepseek/deepseek-r1` Β· `deepseek/deepseek-chat-v3.1`Get key from: [DeepSeek Platform](https://platform.deepseek.com)### Qwen (Alibaba)```LLM_API_KEY=your_qwen_api_keyLLM_MODEL=qwen/qwen3-max```Models: `qwen/qwen3.6-plus-preview:free` (free!) Β· `qwen/qwen3-max` Β· `qwen/qwen3-coder` Β· `qwen/qwen3.5-397b-a17b` Β· `qwen/qwen3.5-35b-a3b`Get key from: [DashScope](https://dashscope.aliyun.com)### Z.ai (GLM)```LLM_API_KEY=your_zai_api_keyLLM_MODEL=z-ai/glm-5-turbo```Models: `z-ai/glm-5` Β· `z-ai/glm-5-turbo` Β· `z-ai/glm-4.7` Β· `z-ai/glm-4.7-flash` Β· `z-ai/glm-4.5-air:free` (free!)Get key from: [Z.ai](https://z.ai)### Moonshot (Kimi)```LLM_API_KEY=sk-...LLM_MODEL=moonshotai/kimi-k2.5```Models: `moonshotai/kimi-k2.5` Β· `moonshotai/kimi-k2` Β· `moonshotai/kimi-k2-thinking`Get key from: [Moonshot API](https://platform.moonshot.cn)### Mistral```LLM_API_KEY=your_mistral_api_keyLLM_MODEL=mistralai/mistral-large-2512```Models: `mistralai/mistral-large-2512` Β· `mistralai/mistral-medium-3.1` Β· `mistralai/mistral-small-2603` Β· `mistralai/devstral-medium` Β· `mistralai/codestral-2508`Get key from: [Mistral Console](https://console.mistral.ai)### xAI (Grok)```LLM_API_KEY=your_xai_api_keyLLM_MODEL=x-ai/grok-4.20-beta```Models: `x-ai/grok-4.20-beta` Β· `x-ai/grok-4.20-multi-agent-beta` Β· `x-ai/grok-4.1-fast` Β· `x-ai/grok-4`Get key from: [xAI Console](https://console.x.ai)### Meta (Llama)```LLM_API_KEY=your_meta_api_keyLLM_MODEL=meta-llama/llama-4-maverick```Models: `meta-llama/llama-4-maverick` Β· `meta-llama/llama-4-scout` Β· `meta-llama/llama-3.3-70b-instruct:free` (free!)### MiniMax```LLM_API_KEY=your_minimax_api_keyLLM_MODEL=minimax/minimax-m2.7```Models: `minimax/minimax-m2.7` Β· `minimax/minimax-m2.5` Β· `minimax/minimax-m2.5:free` (free!)Get key from: [MiniMax Platform](https://api.minimaxi.com)### NVIDIA (Nemotron)```LLM_API_KEY=your_nvidia_api_keyLLM_MODEL=nvidia/nemotron-3-super-120b-a12b```Models: `nvidia/nemotron-3-super-120b-a12b` Β· `nvidia/nemotron-3-super-120b-a12b:free` (free!)Get key from: [NVIDIA API](https://api.nvidia.com)### Cohere```LLM_API_KEY=your_cohere_api_keyLLM_MODEL=cohere/command-a```Models: `cohere/command-a` Β· `cohere/command-r-plus-08-2024`Get key from: [Cohere Dashboard](https://dashboard.cohere.com)### Perplexity```LLM_API_KEY=your_perplexity_api_keyLLM_MODEL=perplexity/sonar-pro```Models: `perplexity/sonar-deep-research` Β· `perplexity/sonar-pro` Β· `perplexity/sonar-reasoning-pro`Get key from: [Perplexity API](https://www.perplexity.ai/settings/api)### Xiaomi (MiMo)```LLM_API_KEY=your_xiaomi_api_keyLLM_MODEL=xiaomi/mimo-v2-pro```Models: `xiaomi/mimo-v2-pro` (1M context) Β· `xiaomi/mimo-v2-omni` (multimodal) Β· `xiaomi/mimo-v2-flash`### ByteDance (Seed)```1 unmodified lineLLM_MODEL=bytedance-seed/seed-2.0-lite```Models: `bytedance-seed/seed-2.0-lite` Β· `bytedance-seed/seed-2.0-mini`Get key from: [Volcengine](https://www.volcengine.com)### Baidu (ERNIE)```LLM_API_KEY=your_baidu_api_keyLLM_MODEL=baidu/ernie-4.5-300b-a47b```Models: `baidu/ernie-4.5-300b-a47b` Β· `baidu/ernie-4.5-21b-a3b`### Inception (Mercury β ultra-fast)```LLM_API_KEY=your_inception_api_keyLLM_MODEL=inception/mercury-2```Models: `inception/mercury-2` (1000+ tok/sec!) Β· `inception/mercury-coder`Get key from: [Inception Labs](https://www.inceptionlabs.ai)### Amazon (Nova)```LLM_API_KEY=your_amazon_api_keyLLM_MODEL=amazon/nova-premier-v1```Models: `amazon/nova-premier-v1` Β· `amazon/nova-pro-v1` Β· `amazon/nova-lite-v1`### OpenRouter (300+ models via single API key)```LLM_API_KEY=sk-or-v1-...LLM_MODEL=openrouter/auto```With OpenRouter, you can access **every model above** with a single API key! Just prefix with `openrouter/`:- `openrouter/openai/gpt-5.4-pro`- `openrouter/anthropic/claude-opus-4.6`- `openrouter/deepseek/deepseek-v3.2`- `openrouter/qwen/qwen3.6-plus-preview:free`Get key from: [OpenRouter.ai](https://openrouter.ai) Β· [Full model list](https://openrouter.ai/models)### Any Other ProviderHuggingClaw supports **any LLM provider** that OpenClaw supports. Just use:
38 unmodified lines394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848538 unmodified linesecho "β οΈ Corrected model from anthropic/gemini* to google/gemini*"fi# Auto-detect and set provider-specific API key from model nameif [[ "$LLM_MODEL" == "openrouter/"* ]]; thenexport OPENROUTER_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "google/"* ]]; thenexport GOOGLE_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "openai/"* ]]; thenexport OPENAI_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "zhipu/"* ]] || [[ "$LLM_MODEL" == "zai/"* ]]; thenexport ZHIPU_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "moonshot/"* ]]; thenexport MOONSHOT_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "minimax/"* ]]; thenexport MINIMAX_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "mistral/"* ]] || [[ "$LLM_MODEL" == "mistralai/"* ]]; thenexport MISTRAL_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "cohere/"* ]]; thenexport COHERE_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "groq/"* ]]; thenexport GROQ_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "qwen/"* ]]; thenexport QWEN_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "x-ai/"* ]] || [[ "$LLM_MODEL" == "xai/"* ]]; thenexport XAI_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "nvidia/"* ]]; thenexport NVIDIA_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "reka/"* ]]; thenexport REKA_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "bytedance/"* ]] || [[ "$LLM_MODEL" == "seed/"* ]]; thenexport BYTEDANCE_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "kwaipilot/"* ]]; thenexport KWAIPILOT_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "z-ai/"* ]]; thenexport ZAI_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "inception/"* ]]; thenexport INCEPTION_API_KEY="$LLM_API_KEY"elif [[ "$LLM_MODEL" == "xiaomi/"* ]]; thenexport XIAOMI_API_KEY="$LLM_API_KEY"else# Default to Anthropic for claude/* or anthropic/* modelsexport ANTHROPIC_API_KEY="$LLM_API_KEY"fi# ββ Setup directories ββmkdir -p /home/node/.openclaw/agents/main/sessions38 unmodified lines39404142434445464748495051525354555657585960616263646566676869707172737475767778798081828338 unmodified linesecho "β οΈ Corrected model from anthropic/gemini* to google/gemini*"fi# Extract provider prefix from model name (e.g. "google/gemini-2.5-flash" β "google")LLM_PROVIDER=$(echo "$LLM_MODEL" | cut -d'/' -f1)# Map provider prefix to the correct API key environment variable# Based on actual OpenRouter model IDs: https://openrouter.ai/api/v1/modelscase "$LLM_PROVIDER" inopenrouter) export OPENROUTER_API_KEY="$LLM_API_KEY" ;;anthropic) export ANTHROPIC_API_KEY="$LLM_API_KEY" ;;openai) export OPENAI_API_KEY="$LLM_API_KEY" ;;google) export GOOGLE_API_KEY="$LLM_API_KEY" ;;deepseek) export DEEPSEEK_API_KEY="$LLM_API_KEY" ;;mistralai) export MISTRAL_API_KEY="$LLM_API_KEY" ;;qwen) export QWEN_API_KEY="$LLM_API_KEY" ;;x-ai) export XAI_API_KEY="$LLM_API_KEY" ;;meta-llama) export META_API_KEY="$LLM_API_KEY" ;;minimax) export MINIMAX_API_KEY="$LLM_API_KEY" ;;z-ai) export ZAI_API_KEY="$LLM_API_KEY" ;;moonshotai) export MOONSHOT_API_KEY="$LLM_API_KEY" ;;nvidia) export NVIDIA_API_KEY="$LLM_API_KEY" ;;cohere) export COHERE_API_KEY="$LLM_API_KEY" ;;perplexity) export PERPLEXITY_API_KEY="$LLM_API_KEY" ;;bytedance-seed) export BYTEDANCE_API_KEY="$LLM_API_KEY" ;;xiaomi) export XIAOMI_API_KEY="$LLM_API_KEY" ;;amazon) export AMAZON_API_KEY="$LLM_API_KEY" ;;reka|rekaai) export REKA_API_KEY="$LLM_API_KEY" ;;inception) export INCEPTION_API_KEY="$LLM_API_KEY" ;;kwaipilot) export KWAIPILOT_API_KEY="$LLM_API_KEY" ;;ai21) export AI21_API_KEY="$LLM_API_KEY" ;;baidu) export BAIDU_API_KEY="$LLM_API_KEY" ;;tencent) export TENCENT_API_KEY="$LLM_API_KEY" ;;stepfun) export STEPFUN_API_KEY="$LLM_API_KEY" ;;inflection) export INFLECTION_API_KEY="$LLM_API_KEY" ;;writer) export WRITER_API_KEY="$LLM_API_KEY" ;;upstage) export UPSTAGE_API_KEY="$LLM_API_KEY" ;;*)# Fallback: export as ANTHROPIC (default) and also as genericexport ANTHROPIC_API_KEY="$LLM_API_KEY";;esac# ββ Setup directories ββmkdir -p /home/node/.openclaw/agents/main/sessions
.env.example+98-53
README.md+95-79
start.sh+39-41