-
|
Hi, Now, I want to setup online models in pico, as long as it's free or I could use google ai studio free API key. I tried adding providers in front of "model_list":[], like so: I got: But I've seen this "providers" in some youtube tuts which works fine, although he's not using docker, and I did not see model_list[] as much as that video showed. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
The error is because your config mixes the old format with the current one. Current PicoClaw config does not accept a top-level For Google AI Studio / Gemini API, use {
"model_list": [
{
"model_name": "gemini-2.5-flash",
"provider": "gemini",
"model": "gemini-2.5-flash",
"api_keys": ["YOUR_GOOGLE_AI_STUDIO_API_KEY"]
},
{
"model_name": "gemma-4-26b-a4b-it",
"provider": "gemini",
"model": "gemma-4-26b-a4b-it",
"api_keys": ["YOUR_GOOGLE_AI_STUDIO_API_KEY"]
}
],
"agents": {
"defaults": {
"model_name": "gemini-2.5-flash"
}
}
}If the Gemma model ID still fails after that, the config format is fixed but the model ID is not accepted by the Gemini API endpoint used by PicoClaw. In that case, first test with a known working Gemini model such as So the immediate fix is:
The YouTube tutorial you saw is probably for an older config version. |
Beta Was this translation helpful? Give feedback.
-
|
Today I'm trying binary approach. At first I run picoclaw onboard, then picoclaw-launcher -public, then http://ip:18800, then I try to setup a model adding api key, but I get this: Maybe it's a bug, at least there's no _comment any where in config.json. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. compose.yaml: (where /root/.picoclaw seems fixed my issue, the original was /.picoclaw) config.json: However, there're new issues: Now the status: Is webui, or "pico", one of channels? Any idea? |
Beta Was this translation helpful? Give feedback.
Yes. A couple of concrete things stand out here.
First, the volume change is the right direction. The process reads the config under
/root/.picoclaw, so mounting your persistent config there is the path I would use. Mounting it at/.picoclawcan leave the process reading a different home/config directory.For
/ready: the log line only means the HTTP endpoints are listening./readyreturnsnot readyuntil startup has finished and the readiness flag is set, and it also returns 503 if a registered health check is failing. I would compare the two endpoints including status code and body:If
/healthis OK but/readyis 503, the JSON …