Shiye1 commited on
Commit
cac07b8
·
1 Parent(s): aba743c

switch to deepseek v4 flash provider

Browse files
Files changed (2) hide show
  1. README.md +2 -1
  2. setup.sh +6 -6
README.md CHANGED
@@ -4,7 +4,8 @@ emoji: 🦅
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: docker
 
7
  pinned: false
8
  ---
9
 
10
- OpenClaw gateway running on Hugging Face Spaces.
 
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: docker
7
+ app_port: 7860
8
  pinned: false
9
  ---
10
 
11
+ OpenClaw gateway running on Hugging Face Spaces with DeepSeek V4 Flash.
setup.sh CHANGED
@@ -10,15 +10,15 @@ fi
10
 
11
  CONFIG_FILE="${OPENCLAW_HOME}/.openclaw/openclaw.json"
12
 
13
- if [ -n "${HF_TOKEN}" ] && [ ! -f "$CONFIG_FILE" ]; then
14
  openclaw onboard --non-interactive \
15
  --mode local \
16
- --auth-choice huggingface-api-key \
17
- --huggingface-api-key "$HF_TOKEN" \
18
- --no-install-daemon \
19
  --skip-health \
20
- --gateway-port 7860 \
21
- --gateway-bind lan
 
22
  fi
23
 
24
  exec openclaw gateway --allow-unconfigured --bind lan --port 7860
 
10
 
11
  CONFIG_FILE="${OPENCLAW_HOME}/.openclaw/openclaw.json"
12
 
13
+ if [ -n "${DEEPSEEK_API_KEY}" ] && [ ! -f "$CONFIG_FILE" ]; then
14
  openclaw onboard --non-interactive \
15
  --mode local \
16
+ --auth-choice deepseek-api-key \
17
+ --deepseek-api-key "$DEEPSEEK_API_KEY" \
 
18
  --skip-health \
19
+ --accept-risk
20
+
21
+ openclaw config set agents.defaults.model.primary "deepseek/deepseek-v4-flash"
22
  fi
23
 
24
  exec openclaw gateway --allow-unconfigured --bind lan --port 7860