acpr123 commited on
Commit
23f4da9
·
verified ·
1 Parent(s): d89931f

Fix: Correct ClawDBot config format (baseUrl, models array)

Browse files
Files changed (1) hide show
  1. entrypoint.sh +19 -7
entrypoint.sh CHANGED
@@ -58,23 +58,35 @@ if [ ! -f "$CONFIG_PATH" ]; then
58
  },
59
  "agents": {
60
  "defaults": {
61
- "workspace": "/data/workspace",
62
- "model": "${DEFAULT_MODEL:-groq:llama3-70b-8192}"
63
  }
64
  },
65
  "models": {
66
  "providers": {
67
  "huggingface": {
68
  "apiKey": "${HUGGINGFACE_API_KEY:-}",
69
- "baseURL": "https://api-inference.huggingface.co/v1"
 
 
 
 
 
 
70
  },
71
  "groq": {
72
  "apiKey": "${GROQ_API_KEY:-}",
73
- "baseURL": "https://api.groq.com/openai/v1"
 
 
 
 
 
 
 
 
 
 
74
  }
75
- },
76
- "aliases": {
77
- "default": "${DEFAULT_MODEL:-huggingface:meta-llama/Meta-Llama-3-8B-Instruct}"
78
  }
79
  }
80
  }
 
58
  },
59
  "agents": {
60
  "defaults": {
61
+ "workspace": "/data/workspace"
 
62
  }
63
  },
64
  "models": {
65
  "providers": {
66
  "huggingface": {
67
  "apiKey": "${HUGGINGFACE_API_KEY:-}",
68
+ "baseUrl": "https://api-inference.huggingface.co/v1",
69
+ "models": [
70
+ {
71
+ "id": "meta-llama/Meta-Llama-3-8B-Instruct",
72
+ "name": "Llama 3 8B"
73
+ }
74
+ ]
75
  },
76
  "groq": {
77
  "apiKey": "${GROQ_API_KEY:-}",
78
+ "baseUrl": "https://api.groq.com/openai/v1",
79
+ "models": [
80
+ {
81
+ "id": "llama3-70b-8192",
82
+ "name": "Llama 3 70B"
83
+ },
84
+ {
85
+ "id": "llama3-8b-8192",
86
+ "name": "Llama 3 8B"
87
+ }
88
+ ]
89
  }
 
 
 
90
  }
91
  }
92
  }