Simford.Dong commited on
Commit ·
1c7d44f
1
Parent(s): bf478f2
Fix: remove invalid config keys (safetySettings and trustedProxies)
Browse files- Dockerfile +1 -8
Dockerfile
CHANGED
|
@@ -64,7 +64,6 @@ if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
| 64 |
"mode": "local",\n\
|
| 65 |
"bind": "lan",\n\
|
| 66 |
"port": 7860,\n\
|
| 67 |
-
"trustedProxies": true,\n\
|
| 68 |
"auth": {\n\
|
| 69 |
"mode": "password",\n\
|
| 70 |
"password": "${SETUP_PASSWORD}"\n\
|
|
@@ -76,13 +75,7 @@ if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
| 76 |
"agents": {\n\
|
| 77 |
"defaults": {\n\
|
| 78 |
"model": {\n\
|
| 79 |
-
"primary": "google/gemini-2.5-pro"
|
| 80 |
-
"safetySettings": [\n\
|
| 81 |
-
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" },\n\
|
| 82 |
-
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },\n\
|
| 83 |
-
{ "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "BLOCK_NONE" },\n\
|
| 84 |
-
{ "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE" }\n\
|
| 85 |
-
]\n\
|
| 86 |
}\n\
|
| 87 |
}\n\
|
| 88 |
}\n\
|
|
|
|
| 64 |
"mode": "local",\n\
|
| 65 |
"bind": "lan",\n\
|
| 66 |
"port": 7860,\n\
|
|
|
|
| 67 |
"auth": {\n\
|
| 68 |
"mode": "password",\n\
|
| 69 |
"password": "${SETUP_PASSWORD}"\n\
|
|
|
|
| 75 |
"agents": {\n\
|
| 76 |
"defaults": {\n\
|
| 77 |
"model": {\n\
|
| 78 |
+
"primary": "google/gemini-2.5-pro"\n\
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}\n\
|
| 80 |
}\n\
|
| 81 |
}\n\
|