tao-shen commited on
Commit
0b89684
·
1 Parent(s): 14172b2

Revert "docs: add Zhipu AI (GLM-4) as a supported LLM provider"

Browse files

This reverts commit 14172b2c3d447b83feeb3571ec07069613f30a8b.

Files changed (2) hide show
  1. .env.example +0 -2
  2. README.md +2 -3
.env.example CHANGED
@@ -97,7 +97,6 @@ OPENROUTER_API_KEY=sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
97
  #
98
  # ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
99
  # GOOGLE_API_KEY=AIza...
100
- # ZHIPU_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxx
101
  # MISTRAL_API_KEY=mis-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
102
  # COHERE_API_KEY=co-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
103
 
@@ -191,7 +190,6 @@ OPENROUTER_API_KEY=sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
191
  # OPENROUTER_API_KEY [可选] OpenRouter,200+ 模型、免费额度
192
  # ANTHROPIC_API_KEY [可选] Anthropic Claude
193
  # GOOGLE_API_KEY [可选] Google / Gemini
194
- # ZHIPU_API_KEY [可选] 智谱 AI (GLM-4)
195
  # MISTRAL_API_KEY [可选] Mistral
196
  # COHERE_API_KEY [可选] Cohere
197
  # OPENCLAW_DEFAULT_MODEL [可选] 默认模型 ID
 
97
  #
98
  # ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
99
  # GOOGLE_API_KEY=AIza...
 
100
  # MISTRAL_API_KEY=mis-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
101
  # COHERE_API_KEY=co-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
102
 
 
190
  # OPENROUTER_API_KEY [可选] OpenRouter,200+ 模型、免费额度
191
  # ANTHROPIC_API_KEY [可选] Anthropic Claude
192
  # GOOGLE_API_KEY [可选] Google / Gemini
 
193
  # MISTRAL_API_KEY [可选] Mistral
194
  # COHERE_API_KEY [可选] Cohere
195
  # OPENCLAW_DEFAULT_MODEL [可选] 默认模型 ID
README.md CHANGED
@@ -64,7 +64,7 @@ In about 5 minutes, you’ll have a **free, always-on AI assistant** connected t
64
  | **Free forever** | HuggingFace Spaces gives you 2 vCPU + 16 GB RAM at no cost |
65
  | **Always online** | Your conversations, settings, and credentials survive every restart |
66
  | **WhatsApp & Telegram** | Works reliably, including channels that HF Spaces normally blocks |
67
- | **Any LLM** | OpenAI, Claude, Gemini, Zhipu (GLM), OpenRouter (200+ models, free tier available), or your own Ollama |
68
  | **One-click deploy** | Duplicate the Space, set two secrets, done |
69
 
70
  > **Powered by [OpenClaw](https://github.com/openclaw/openclaw)** — an open-source AI assistant that normally requires your own machine (e.g. a Mac Mini). HuggingClaw makes it run for free on HuggingFace Spaces by solving two Spaces limitations: data loss on restart (fixed via HF Dataset sync) and DNS failures for some domains like WhatsApp (fixed via DNS-over-HTTPS).
@@ -95,7 +95,6 @@ Go to **Settings → Repository secrets** and add the following. The only two yo
95
  | `OPENAI_API_KEY` | Optional | OpenAI (or any [OpenAI-compatible](https://openclawdoc.com/docs/reference/environment-variables)) API key | `sk-proj-xxxxxxxxxxxx` |
96
  | `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key | `sk-ant-xxxxxxxxxxxx` |
97
  | `GOOGLE_API_KEY` | Optional | Google / Gemini API key | `AIzaSyXxXxXxXxXx` |
98
- | `ZHIPU_API_KEY` | Optional | [Zhipu AI](https://z.ai) (GLM-4 series) API key | `xxxxxxxx.xxxxxxxx` |
99
  | `OPENCLAW_DEFAULT_MODEL` | Optional | Default model for new conversations | `openai/gpt-oss-20b:free` |
100
 
101
  ### Data Persistence
@@ -143,7 +142,7 @@ Messaging integrations (Telegram, WhatsApp) can be configured directly inside th
143
 
144
  HuggingClaw supports **all OpenClaw environment variables** — it passes the entire environment to the OpenClaw process (`env=os.environ.copy()`), so any variable from the [OpenClaw docs](https://openclawdoc.com/docs/reference/environment-variables) works out of the box in HF Spaces. This includes:
145
 
146
- - **API Keys** — `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, `ZHIPU_API_KEY`, `MISTRAL_API_KEY`, `COHERE_API_KEY`, `OPENROUTER_API_KEY`
147
  - **Server** — `OPENCLAW_API_PORT`, `OPENCLAW_WS_PORT`, `OPENCLAW_HOST`
148
  - **Memory** — `OPENCLAW_MEMORY_BACKEND`, `OPENCLAW_REDIS_URL`, `OPENCLAW_SQLITE_PATH`
149
  - **Network** — `OPENCLAW_HTTP_PROXY`, `OPENCLAW_HTTPS_PROXY`, `OPENCLAW_NO_PROXY`
 
64
  | **Free forever** | HuggingFace Spaces gives you 2 vCPU + 16 GB RAM at no cost |
65
  | **Always online** | Your conversations, settings, and credentials survive every restart |
66
  | **WhatsApp & Telegram** | Works reliably, including channels that HF Spaces normally blocks |
67
+ | **Any LLM** | OpenAI, Claude, Gemini, OpenRouter (200+ models, free tier available), or your own Ollama |
68
  | **One-click deploy** | Duplicate the Space, set two secrets, done |
69
 
70
  > **Powered by [OpenClaw](https://github.com/openclaw/openclaw)** — an open-source AI assistant that normally requires your own machine (e.g. a Mac Mini). HuggingClaw makes it run for free on HuggingFace Spaces by solving two Spaces limitations: data loss on restart (fixed via HF Dataset sync) and DNS failures for some domains like WhatsApp (fixed via DNS-over-HTTPS).
 
95
  | `OPENAI_API_KEY` | Optional | OpenAI (or any [OpenAI-compatible](https://openclawdoc.com/docs/reference/environment-variables)) API key | `sk-proj-xxxxxxxxxxxx` |
96
  | `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key | `sk-ant-xxxxxxxxxxxx` |
97
  | `GOOGLE_API_KEY` | Optional | Google / Gemini API key | `AIzaSyXxXxXxXxXx` |
 
98
  | `OPENCLAW_DEFAULT_MODEL` | Optional | Default model for new conversations | `openai/gpt-oss-20b:free` |
99
 
100
  ### Data Persistence
 
142
 
143
  HuggingClaw supports **all OpenClaw environment variables** — it passes the entire environment to the OpenClaw process (`env=os.environ.copy()`), so any variable from the [OpenClaw docs](https://openclawdoc.com/docs/reference/environment-variables) works out of the box in HF Spaces. This includes:
144
 
145
+ - **API Keys** — `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, `MISTRAL_API_KEY`, `COHERE_API_KEY`, `OPENROUTER_API_KEY`
146
  - **Server** — `OPENCLAW_API_PORT`, `OPENCLAW_WS_PORT`, `OPENCLAW_HOST`
147
  - **Memory** — `OPENCLAW_MEMORY_BACKEND`, `OPENCLAW_REDIS_URL`, `OPENCLAW_SQLITE_PATH`
148
  - **Network** — `OPENCLAW_HTTP_PROXY`, `OPENCLAW_HTTPS_PROXY`, `OPENCLAW_NO_PROXY`