Elysiadev11 commited on
Commit
25e6a19
·
verified ·
1 Parent(s): 1c9bd7e

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +10 -4
start-openclaw.sh CHANGED
@@ -72,7 +72,8 @@ cat > /root/.openclaw/openclaw.json <<EOF
72
  "apiKey": "$OPENAI_API_KEY",
73
  "api": "openai-completions",
74
  "models": [
75
- { "id": "$MODEL", "name": "$MODEL", "contextWindow": 128000 }
 
76
  ]
77
  }
78
  }
@@ -80,8 +81,11 @@ cat > /root/.openclaw/openclaw.json <<EOF
80
  "agents": {
81
  "defaults": {
82
  "model": {
83
- "primary": "kilo_gateway/kilo-auto/free",
84
- "fallbacks": ["nvidia/$MODEL"]
 
 
 
85
  }
86
  }
87
  },
@@ -112,7 +116,9 @@ cat > /root/.openclaw/openclaw.json <<EOF
112
  "webhookPath": "/telegram/webhook",
113
  "webhookHost": "0.0.0.0",
114
  "webhookPort": 8787,
115
- "streaming": "off"
 
 
116
  }
117
  },
118
  "gateway": {
 
72
  "apiKey": "$OPENAI_API_KEY",
73
  "api": "openai-completions",
74
  "models": [
75
+ { "id": "$MODEL", "name": "$MODEL", "contextWindow": 128000 },
76
+ { "id": "${VISION_MODEL:-$MODEL}", "name": "Nvidia Vision", "contextWindow": 128000, "input": ["text", "image"] }
77
  ]
78
  }
79
  }
 
81
  "agents": {
82
  "defaults": {
83
  "model": {
84
+ "primary": "nvidia/$MODEL",
85
+ "fallbacks": ["kilo_gateway/kilo-auto/free"]
86
+ },
87
+ "imageModel": {
88
+ "primary": "nvidia/${VISION_MODEL:-$MODEL}"
89
  }
90
  }
91
  },
 
116
  "webhookPath": "/telegram/webhook",
117
  "webhookHost": "0.0.0.0",
118
  "webhookPort": 8787,
119
+ "streaming": {
120
+ "mode": "partial"
121
+ }
122
  }
123
  },
124
  "gateway": {