#hello
153 messages Ā· Page 1 of 1 (latest)
Let me check the installed docs and the repo docs so I can give you something accurate.
I found the main gotchas. Iām pulling the exact Telegram troubleshooting bits too so I donāt hand-wave this.
yeah, thatās frustrating. Two very common gotchas here:
-
Ollama
- OpenClaw should use the native Ollama URL, like
http://127.0.0.1:11434 - Do not use
/v1for normal OpenClaw Ollama setup - If you added an explicit
models.providers.ollamablock, auto-discovery turns off, so you must define models manually
- OpenClaw should use the native Ollama URL, like
-
Telegram
- Telegram does not use
openclaw channels login telegram - You need
channels.telegram.botToken - DM pairing is usually on by default, and
/startalone does not generate a pairing code
- Telegram does not use
Please paste these outputs in one message:
openclaw --version
openclaw status
openclaw models status
curl http://127.0.0.1:11434/api/tags
openclaw pairing list telegram
Also paste your config snippets with secrets redacted for:
models.providers.ollamachannels.telegram
If you want a quick sanity check first, the docs I verified are:
For Telegram, the minimal shape is basically:
{
channels: {
telegram: {
enabled: true,
botToken: "REDACTED",
dmPolicy: "pairing"
}
}
}
Once you paste the outputs/config, I can usually spot the issue pretty fast.
sorry, I made that more complicated than it needed to be š
On your Pi, run these 3 commands and paste what they print:
openclaw --version
openclaw status
curl http://127.0.0.1:11434/api/tags
And for Telegram, answer this:
- did you make a bot in BotFather
- did you put that bot token into OpenClaw config
If you want, I can walk you through it one step at a time.
open a terminal on the Raspberry Pi, type this, then send a screenshot of what comes back:
openclaw status
Thatās it for now. Weāll do it one step at a time.
How do i set this up like with the olamma and hange the api thingy
yep, the āAPI thingyā is probably the Ollama URL.
If OpenClaw and Ollama are on the same Pi, use:
http://127.0.0.1:11434
Important: do not use /v1 at the end.
Easiest setup
On the Pi, run:
export OLLAMA_API_KEY=ollama-local
openclaw onboard
Then when OpenClaw asks:
- provider: Ollama
- base URL:
http://127.0.0.1:11434 - local or local+cloud: pick what you want
After that, run:
openclaw models list
openclaw status
If you already set it up before, the big fix is usually just:
- find the Ollama URL in your config
- change it from something like
http://127.0.0.1:11434/v1
- to
http://127.0.0.1:11434
If you want, paste your Ollama config here and Iāll tell you exactly what to change.
Docs I checked:
Once Ollama is working, we can do Telegram next.
wait what should i put in for the model
use the exact name from ollama list.
So on the Pi, run:
ollama list
Then copy one of those names exactly into OpenClaw.
Example rule:
- in onboarding, enter the raw Ollama name, like
whatever-you-see-there - later, in OpenClaw commands, it usually becomes
ollama/<that-name>
So if ollama list shows nothing, that means you need to download a model first.
If you want, paste the output of ollama list here and Iāll tell you which line to use.
deepseek-r1:1.5b e0979632db5a 1.1 GB 4 hours ago
\
yep, use:
deepseek-r1:1.5b
That exact text.
Then later, if OpenClaw asks for the full provider/model name, use:
ollama/deepseek-r1:1.5b
Small heads-up, 1.5b is very small for OpenClaw-style agent tasks, so setup should work, but the model itself may be pretty weak once itās running.
If you finish onboarding and it still fails, paste openclaw status and Iāll help with the next step.
i dont see it in the model list
if ollama list shows it, but OpenClaw does not, then OpenClaw is not seeing your Ollama server yet.
Try this:
- make sure the Ollama URL is
http://127.0.0.1:11434
and not /v1
- in the Pi terminal, run:
export OLLAMA_API_KEY=ollama-local
openclaw models list
- if it still doesnāt show up, run these and paste the output:
openclaw models status
curl http://127.0.0.1:11434/api/tags
Also important, if you manually added a models.providers.ollama config block, OpenClaw stops auto-discovering models unless you define them manually.
So the short version is: for now, keep it simple, use Ollama at 127.0.0.1:11434, no /v1, and let OpenClaw auto-discover it.
i dont see eather should i just dwonload a diffrent llm
no, donāt download a different LLM yet. That probably wonāt fix this.
If OpenClaw canāt see any Ollama model, the problem is usually the connection, not the model.
Do this one check on the Pi:
curl http://127.0.0.1:11434/api/tags
Then send a screenshot of the result.
- if you get a big JSON-looking response, Ollama is running fine
- if you get an error, OpenClaw canāt reach Ollama yet
Thatāll tell us which side is broken.
{"models":[{"name":"deepseek-r1:1.5b","model":"deepseek-r1:1.5b","modified_at":"2026-04-12T16:20:55.928122792-04:00","size":1117322768,"digest":"e0979632db5a88d1a53884cb2a941772d10ff5d055aabaa6801c4e36f3a6c2d7","details":{"parent_model":"joewarrior9@joesrobit:~ $
perfect, that means Ollama is working š
So the problem is on the OpenClaw side, not the model.
Next, in the same terminal, run:
export OLLAMA_API_KEY=ollama-local
openclaw models status
Then send a screenshot of that output.
That will tell us whether OpenClaw can see Ollama now.
$ export OLLAMA_API_KEY=ollama-local
openclaw models status
š¦ OpenClaw 2026.4.11 (769908e) ā We ship features faster than Apple ships calculator updates.
Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : huggingface/deepseek-ai/DeepSeek-R1
Fallbacks (0) : -
Image model : -
Image fallbacks (0): -
Aliases (1) : Hugging Face -> huggingface/deepseek-ai/DeepSeek-R1
Configured models (1): huggingface/deepseek-ai/DeepSeek-R1
Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -
- huggingface effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | huggingface:default=hf_mLkiN...YHDGnDYi
- ollama effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | ollama:default=marker(ollama-local) | env=ol...al | source=env: OLLAMA_API_KEY
OAuth/token status
- none
joewarrior9@joesrobit:~ $ ^C
nice, this is actually good news.
OpenClaw can see Ollama auth now, but your default model is still Hugging Face:
Default : huggingface/deepseek-ai/DeepSeek-R1
So next, switch the default model to your local Ollama model:
openclaw models set ollama/deepseek-r1:1.5b
openclaw models status
Then paste what it prints.
If it still acts weird after that, run:
openclaw gateway restart
Weāre close.
penclaw models set ollama/deepseek-r1:1.5b
openclaw models status
š¦ OpenClaw 2026.4.11 (769908e) ā If it works, it's automation; if it breaks, it's a "learning opportunity."
Config overwrite: /home/joewarrior9/.openclaw/openclaw.json (sha256 23c01373e548073073a35b5aea13fc0f3c5c65777791463d20de7719938112d2 -> 4e838c6b7366bd3e1d4597acf746f3609f78018f0dd12cc114836cfe20391205, backup=/home/joewarrior9/.openclaw/openclaw.json.bak)
Updated ~/.openclaw/openclaw.json
Default model: ollama/deepseek-r1:1.5b
š¦ OpenClaw 2026.4.11 (769908e) ā Your .env is showing; don't worry, I'll pretend I didn't see it.
Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : ollama/deepseek-r1:1.5b
Fallbacks (0) : -
Image model : -
Image fallbacks (0): -
Aliases (1) : Hugging Face -> huggingface/deepseek-ai/DeepSeek-R1
Configured models (2): huggingface/deepseek-ai/DeepSeek-R1, ollama/deepseek-r1:1.5b
Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -
- huggingface effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | huggingface:default=hf_mLkiN...YHDGnDYi
- ollama effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | ollama:default=marker(ollama-local) | env=ol...al | source=env: OLLAMA_API_KEY
OAuth/token status
- none
nice, Ollama is set up now š
Your default model is now:
ollama/deepseek-r1:1.5b
So next, run:
openclaw gateway restart
After that, try OpenClaw again. The Ollama part should be connected now.
Telegram, very short version
Telegram needs a bot token from @BotFather. Donāt paste the token here.
You need this in config:
{
channels: {
telegram: {
enabled: true,
botToken: "YOUR_TOKEN",
dmPolicy: "pairing"
}
}
}
Then:
openclaw gateway restart
openclaw pairing list telegram
And DM your bot on Telegram.
If you want, send ātelegram nextā and Iāll walk you through the Telegram setup one step at a time.
bash: dmPolicy:: command not found
bash: syntax error near unexpected token }' bash: syntax error near unexpected token }'
bash: syntax error near unexpected token `}'
it says all were not found
ah, yep, that part was my fault, sorry. That JSON was a config example, not something to paste into bash.
Use these exact terminal commands instead, one by one:
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.botToken "PASTE_YOUR_BOTFATHER_TOKEN_HERE"
openclaw config set channels.telegram.dmPolicy "pairing"
openclaw gateway restart
Then on Telegram:
- open your bot chat
- send it a normal message like
hello(not just/start)
Then back in the Pi terminal run:
openclaw pairing list telegram
If it shows a code, approve it with:
openclaw pairing approve telegram CODE
Donāt paste your Telegram token here.
If you want, do the first command only and tell me what it says.
it says no pending telegram pairing requests
okay, that usually means Telegram never reached OpenClaw.
Most likely causes:
- wrong bot token
- wrong bot chat, you messaged a different bot
- gateway wasnāt restarted after adding the token
- you sent
/startonly, instead of a normal message likehello
Next check
On the Pi, run:
openclaw logs --follow
Then, on Telegram, send your bot:
hello
If nothing shows up in the logs, the token/bot setup is wrong.
If something shows up, paste it here and Iāll tell you the next step.
So, one test:
- run
openclaw logs --follow - message the bot
hello - send me what appears in the terminal
so it aproved but now i keep seeing something went wrong while processing what do i do now
nice, that means Telegram is connected now š
The new problem is the processing/model step, not Telegram.
Do this on the Pi:
openclaw gateway restart
openclaw logs --follow
Then send your Telegram bot a simple message like:
hello
and paste the error lines that show up in the terminal.
Small heads-up, that deepseek-r1:1.5b model is tiny, so if the logs mention model/tool errors, the model itself may be the problem rather than Telegram. But letās confirm with the logs first.
00:48:20+00:00 info gateway {"subsystem":"gateway"} loading configurationā¦
00:48:20+00:00 info gateway {"subsystem":"gateway"} resolving authenticationā¦
00:48:21+00:00 info gateway {"subsystem":"gateway"} starting...
00:48:24+00:00 info gateway {"subsystem":"gateway"} starting HTTP server...
00:48:24+00:00 info gateway/canvas {"subsystem":"gateway/canvas"} canvas host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /home/joewarrior9/.openclaw/canvas)
00:48:24+00:00 info gateway {"subsystem":"gateway"} MCP loopback server listening on http://127.0.0.1:37599/mcp
00:48:24+00:00 info gateway/heartbeat {"subsystem":"gateway/heartbeat"} {"intervalMs":1800000} heartbeat: started
00:48:24+00:00 info gateway/health-monitor {"subsystem":"gateway/health-monitor"} started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
00:48:24+00:00 info gateway {"subsystem":"gateway"} agent model: ollama/deepseek-r1:1.5b
00:48:24+00:00 info gateway {"subsystem":"gateway"} ready (6 plugins: acpx, browser, device-pair, phone-control, talk-voice, telegram; 3.4s)
00:48:24+00:00 info gateway {"subsystem":"gateway"} log file: /tmp/openclaw/openclaw-2026-04-12.log
00:48:24+00:00 info gateway {"subsystem":"gateway"} starting channels and sidecars...
00:48:24+00:00 info cron {"module":"cron","storePath":"/home/joewarrior9/.openclaw/cron/jobs.json"} {"enabled":true,"jobs":0,"nextWakeAtMs":null} cron: started
that part actually looks good. Gateway started, Telegram loaded, and itās using your Ollama model.
What you pasted is just the startup log, not the error yet.
Do this:
- keep
openclaw logs --followrunning - send your Telegram bot
hello - copy the new lines that appear right after that
I need the part after you message the bot, especially anything with:
errorwarnollamatelegram
Youāre close, we just need the actual failure line now.
gateway connect failed: GatewayClientRequestError: pairing required
Iām checking the exact meaning of that pairing error so I donāt send you in circles.
I found the exact pairing doc path. Let me grab the troubleshooting wording so I can give you the right next command.
that line is not the Telegram DM pairing. Itās a gateway device pairing error.
To fix that, run:
openclaw devices list
If you see a pending request, approve it:
openclaw devices approve REQUEST_ID
But also, that may still not be the real Telegram processing error. It can just be the log client complaining while trying to connect.
So after approving the device, do this again:
openclaw logs --follow
then send your Telegram bot hello, and paste the new lines that appear after that.
So, short version:
openclaw devices list- approve anything pending
- run logs again
- message the bot
- paste the new error lines
Weāre hunting the last actual failure now.
gateway connect failed: GatewayClientRequestError: pairing required
ā
Direct scope access failed; using local fallback.
that part is okay. It just means the log command couldnāt connect directly, so it switched to the local log file.
Letās skip that noise and read the log file directly.
Run this instead:
tail -f "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
Then send your Telegram bot:
hello
and paste the new lines that appear after that.
We can ignore the āpairing required / local fallbackā message for now. The real error should show after you message the bot.
theres alot of stuff like Unknown model: ollama/deepseek-r1:1.5b. Ollama requires authentication to be registered as a provider. Set OLLAMA_API_KEY="ollama-local" (any value works) or run "openclaw configure". See: https://docs.openclaw.ai/providers/ollama\"","_meta":{"runtime":"node","runtimeVersion":"22.22.2","hostname":"unknown","name":"{"subsystem":"diagnostic"}","parentNames":["openclaw"],"date":"2026-04-13T00:54:02.001Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330:14","fileName":"subsystem-D2gFnOcq.js","fileNameWithLine":"subsystem-D2gFnOcq.js:330","fileColumn":"14","fileLine":"330","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330","method":"logToFile"}},"time":"2026-04-12T20:54:02.002-04:00"}
{"0":"{"subsystem":"diagnostic"}","1":"lane task error: lane=session:agent:main:telegram:direct:8495810719 durationMs=205 error="FailoverError: Unknown model: ollama/deepseek-r1:1.5b. Ollama requires authentication to be registered as a
perfect, we found it.
Ollama works. Telegram works.
The remaining problem is just this:
the gateway service does not have Ollama registered permanently
Your earlier export OLLAMA_API_KEY=ollama-local only helped in that one terminal. It did not stick for the running gateway.
Fix
Run:
openclaw configure
Then choose/setup:
- provider: Ollama
- API key:
ollama-local(any value works) - base URL:
http://127.0.0.1:11434 - no
/v1
Then restart:
openclaw gateway restart
Then test Telegram again.
So the short explanation is:
export OLLAMA_API_KEY=...was temporaryopenclaw configuremakes it persistent for OpenClaw
Docs:
https://docs.openclaw.ai/providers/ollama
If you want, after you run openclaw configure, paste what openclaw models status says and Iāll verify it.
what section do i want to configure
One sec, Iām checking the exact configure section names so I donāt guess.
choose model.
Thatās the section for fixing the Ollama setup.
So run:
openclaw configure --section model
Then pick/setup:
- Ollama
- API key:
ollama-local - base URL:
http://127.0.0.1:11434 - no
/v1
After that:
openclaw gateway restart
If you want to fix Telegram after that, Telegram is under channels, but right now you want model first.
now im on a big models in /model picker list and it dosnt show
ah, yep, that means youāre in the wrong screen.
That big model picker is for choosing from models OpenClaw already knows about.
Your Ollama provider is not registered yet, so it wonāt show there.
Do this instead
Back out of that screen, then run:
openclaw configure
Not --section model, just plain openclaw configure.
Then look for the part where it asks about:
- provider
- auth
- credentials
Pick Ollama, then enter:
- API key:
ollama-local - base URL:
http://127.0.0.1:11434
Then restart:
openclaw gateway restart
So, short version:
donāt use the big model list yet, first register Ollama itself.
ā Select sections to configure
ā ā Workspace (Set workspace + sessions)
ā ā Model
ā ā Web tools
ā ā Gateway
ā ā Daemon
ā ā Channels
ā ā Plugins
ā ā Skills
ā ā Health check
ā ā Continue
ā
nice, youāre in the right place now.
For right now, select:
- Model
- then Continue
You can leave the others alone for now.
So basically:
- move to Model
- press space
- move to Continue
- press enter
If it asks after that, send me the next screen.
Model/auth provider
ā ā Anthropic (Claude CLI + API key)
ā ā Arcee AI
ā ā BytePlus
ā ā Chutes
ā ā Cloudflare AI Gateway
ā ā Copilot Proxy
ā ā Custom Provider
ā ā DeepSeek
ā ā Fireworks
ā ā Gemini CLI OAuth
ā ā GitHub Copilot
ā ā Google
ā ā Hugging Face
ā ā Kilo Gateway
ā ā LiteLLM
ā ā Microsoft Foundry
ā ā MiniMax
ā ā Mistral AI
ā ...
yep, keep going down the list and choose Ollama.
Itās just lower down, not in the part you pasted yet.
So:
- arrow down until you see Ollama
- select Ollama
- press enter
If you want, paste the next screen after you pick it.
ā Ollama base URL
ā http://127.0.0.1:11434ā
ā
thatās the right value. Leave it exactly like that and press enter.
Important, donāt add /v1.
Ollama mode
ā ā Cloud + Local (Cloud models + local models)
ā ā Local
ā
choose Local.
Thatās the simplest one for your Pi setup.
Models in /model picker (multi-select)
ā
ā Search:
ā ...
ā ā» vercel-ai-gateway/cohere/command-a
ā ā» vercel-ai-gateway/deepseek/deepseek-v3
ā ā» vercel-ai-gateway/deepseek/deepseek-v3.1-terminus
ā ā» vercel-ai-gateway/deepseek/deepseek-v3.2
ā ā» vercel-ai-gateway/deepseek/deepseek-v3.2-thinking
ā ā» vercel-ai-gateway/deepseek/deepseek-r1
ā ā» vercel-ai-gateway/deepseek/deepseek-v3.1
ā ā» vercel-ai-gateway/mistral/devstral-2
ā ā» vercel-ai-gateway/mistral/devstral-small
ā ā» vercel-ai-gateway/mistral/devstral-small-2
ā ā» vercel-ai-gateway/google/gemini-2.0-flash
ā ā» vercel-ai-gateway/google/gemini-2.0-flash-lite
ā ā» vercel-ai-gateway/google/gemini-2.5-flash
ā ā» vercel-ai-gateway/google/gemini-2.5-flash-lite (Gemini 2.5 Flash Lite Ā· ctx
ā 1024k Ā· reasoning Ā· auth missing)
ā ā» vercel-ai-gateway/google/gemini-2.5-pro
good, now use the Search box and type:
ollama
Then look for:
ollama/deepseek-r1:1.5b
and select it.
If ollama doesnāt show anything, type:
deepseek-r1
and paste what appears.
Models in /model picker (multi-select)
ā 2 items selected
Config overwrite: /home/joewarrior9/.openclaw/openclaw.json (sha256 07262999a9d621b531b9ca235e605d96e1a565e1bac6b0f0af308e2993b47f5c -> 1040e2b5fd9549e2ba26ad1a799be21332494232bb363e0a93738f1ff56920e4, backup=/home/joewarrior9/.openclaw/openclaw.json.bak)
nice, that saved successfully š
Now run:
openclaw gateway restart
openclaw models status
Then try your Telegram bot again with:
hello
If it still breaks, paste the new openclaw models status output.
But thereās a good chance you just fixed the Ollama registration problem.
Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : ollama/deepseek-r1:1.5b
Fallbacks (1) : huggingface/deepseek-ai/DeepSeek-R1
Image model : -
Image fallbacks (0): -
Aliases (1) : Hugging Face -> huggingface/deepseek-ai/DeepSeek-R1
Configured models (2): huggingface/deepseek-ai/DeepSeek-R1, ollama/deepseek-r1:1.5b
Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -
- huggingface effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | huggingface:default=hf_mLkiN...YHDGnDYi
- ollama effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | ollama:default=marker(ollama-local) | models.json=OL...EY | source=models.json: ~/.openclaw/agents/main/agent/models.json
OAuth/token status
- none
joewarrior9@joesrobit:~ $
this looks right now. š
The important part is:
Default : ollama/deepseek-r1:1.5bsource=models.json- Ollama is registered persistently now
So at this point, try your Telegram bot again and send:
hello
If it works, youāre good.
If it still says āsomething went wrong while processingā, paste the new log lines after that test.
Small heads-up, that 1.5b model may be slow or flaky, but the OpenClaw ā Ollama setup itself now looks correct.
now its not responding
okay, two likely possibilities now:
- itās working but very slow
- the model is hanging
That deepseek-r1:1.5b model can be pretty rough on a Pi.
Do this one test
Run this and leave it open:
tail -f "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
Then message your Telegram bot:
hello
- if new error lines appear, paste them here
- if nothing appears, Telegram isnāt reaching it
- if it shows activity but never replies, itās probably the model
Also, give it up to a minute once, just in case itās thinking slowly.
If it turns out to be the model, ask in #models for a Pi-friendly Ollama model, that advice changes fast.
at file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/command-queue-JOCs7lw4.js:119:22","_meta":{"runtime":"node","runtimeVersion":"22.22.2","hostname":"unknown","name":"{"subsystem":"llm-slug-generator"}","parentNames":["openclaw"],"date":"2026-04-13T01:08:05.349Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330:14","fileName":"subsystem-D2gFnOcq.js","fileNameWithLine":"subsystem-D2gFnOcq.js:330","fileColumn":"14","fileLine":"330","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330","method":"logToFile"}},"time":"2026-04-12T21:08:05.349-04:00"}
{"0":"{"subsystem":"hooks/session-memory"}","1":"Session context saved to ~/.openclaw/workspace/memory/2026-04-13-0108.md","_meta":{"runtime":"node","runtimeVersion":"22.22.2","hostname":"unknown","name":"{"subsystem":"hooks/session-memory"}","parentNames":["openclaw"],"date":"2026-04-13T01:08:05.402Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330:14","fileName":"subsystem-D2gFnOcq.js","fileNameWithLine":"subsystem-D2gFnOcq.js:330","fileColumn":"14","fileLine":"330","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:330","method":"logToFile"}},"time":"2026-04-12T21:08:05.403-04:00"}
Iām checking what that llm-slug-generator error usually means so I can give you the right next step.
that log line is not the Telegram setup breaking. Itās from the session-memory slug generator, basically a little helper hook.
The big picture now is:
- Telegram is connected
- Ollama is connected
- the remaining problem is very likely the model itself, not the wiring
And honestly, deepseek-r1:1.5b is probably just too weak/slow here.
My recommendation
At this point, ask in #models for a Pi-friendly Ollama model. Model recommendations change fast, and that channel is the right place for current picks.
If you want the quick summary:
- your setup is mostly fixed
- the remaining issue is model performance/capability
If you want, I can help you post a short clean question for #models so you donāt have to re-explain everything.
sure just give me a new model
I donāt want to give you a stale/wrong model name from memory.
For current model picks, ask in #models with this exact message:
Iām running OpenClaw on a Raspberry Pi 5 16GB with Ollama.
Telegram + Ollama are connected now, butdeepseek-r1:1.5bis too slow / not responding reliably.
What local Ollama model do people recommend for a Pi 5 16GB that works best with OpenClaw?
Thatāll get you a much better answer than me guessing.
Docs for the Ollama side are here too:
https://docs.openclaw.ai/providers/ollama
If you get a model name back, paste it here and Iāll help you switch OpenClaw to it.
help me set it up comletely again
like i downloaded the olama gui from pi apps if that helps
yep, letās reset it cleanly from scratch.
Important: only paste the commands below into the terminal.
Do not paste JSON/config examples into bash.
1) Check the basics on the Pi
openclaw --version
ollama list
curl http://127.0.0.1:11434/api/tags
ollama listshould show at least one model- the
curlcommand should print JSON - if either fails, stop there and send me the output
2) Set up Ollama in OpenClaw
openclaw onboard
When it asks:
- choose Ollama
- base URL:
http://127.0.0.1:11434 - do not add
/v1 - mode: Local
- model: choose the exact name from
ollama list
3) Set up Telegram
First, make a bot with @BotFather and copy the token.
Then run:
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.botToken "PASTE_YOUR_BOTFATHER_TOKEN_HERE"
openclaw config set channels.telegram.dmPolicy "pairing"
4) Restart OpenClaw
openclaw gateway restart
openclaw models status
What you want to see:
- your default model starts with
ollama/
- Ollama shows up in auth/config
5) Pair Telegram
On Telegram:
- open your bot chat
- send it a normal message like
hello
Then on the Pi:
openclaw pairing list telegram
If you see a code:
openclaw pairing approve telegram CODE
6) Test it
Send the bot:
hello
If it still breaks, send me only these 2 things:
openclaw models status
tail -f "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
and Iāll walk you through the last error.
Docs I checked:
- https://docs.openclaw.ai/help/faq
- https://docs.openclaw.ai/providers/ollama
- https://docs.openclaw.ai/channels/telegram
If you want, start with step 1 only and paste the output here.
yep, that helps a bit.
The GUI itself isnāt what OpenClaw talks to. OpenClaw talks to the Ollama server/API running underneath it.
So the important question is just:
curl http://127.0.0.1:11434/api/tags
- if that works, the GUI install is fine and OpenClaw can use it
- if that fails, the GUI may be installed but the Ollama server is not actually running
So even with the Pi Apps GUI, the setup path is still the same:
- OpenClaw base URL:
http://127.0.0.1:11434 - no
/v1
If you want, run that one curl command again and paste what it says.
but hes not responding to telegram
okay, letās narrow it down fast.
On the Pi, run this first:
openclaw pairing list telegram
- if it shows a code, approve it with:
openclaw pairing approve telegram CODE
If it says no pending requests, then do this:
tail -f "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
Leave that running, then on Telegram send your bot:
hello
Then tell me which of these happens:
- a pairing code appears
- new log lines appear
- nothing happens at all
That tells us whether the problem is:
- pairing
- Telegram bot config
- or the model hanging again
new lines apear but there all gray
gray is fine, that just means theyāre probably info logs.
Please paste the last 10 to 20 lines that appear right after you send hello to the bot.
Those lines are what I need.
nothing new comes just _meta":{"runtime":"node","runtimeVersion":"22.22.2","hostname":"unknown","name":"openclaw","date":"2026-04-14T00:47:41.591Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:159:46","fileName":"subsystem-D2gFnOcq.js","fileNameWithLine":"subsystem-D2gFnOcq.js:159","fileColumn":"46","fileLine":"159","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:159","method":"console.log"}},"time":"2026-04-13T20:47:41.594-04:00"}
{"0":"\u001b[38;2;139;127;119mNo pending telegram pairing requests.\u001b[39m","_meta":{"runtime":"node","runtimeVersion":"22.22.2","hostname":"unknown","name":"openclaw","date":"2026-04-14T00:49:28.742Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///home/joewarrior9/.npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:159:46","fileName":"subsystem-D2gFnOcq.js","fileNameWithLine":"subsystem-D2gFnOcq.js:159","fileColumn":"46","fileLine":"159","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-D2gFnOcq.js:159","method":"console.log"}},"time":"2026-04-13T20:49:28.744-04:00"}
got it, that means Telegram is not reaching OpenClaw at all.
Because if your hello hit the bot, youād see fresh log lines.
So the issue is now almost certainly one of these:
- wrong BotFather token
- messaging the wrong bot
- Telegram channel config got lost / overwritten
- gateway wasnāt restarted after the Telegram config
Re-do Telegram cleanly
Run these again on the Pi:
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.botToken "PASTE_YOUR_BOTFATHER_TOKEN_HERE"
openclaw config set channels.telegram.dmPolicy "pairing"
openclaw gateway restart
Then on Telegram:
- open the exact bot created in BotFather
- press Start
- send
hello
Then run:
openclaw pairing list telegram
If it still says no pending requests and no new logs appear, then itās the wrong bot token or wrong bot chat.
So weāre down to the Telegram bot identity now, not Ollama.
So now Before responding, I'll run my session startup sequence as required. This involves reading key files to understand my identity and context. I'll proceed silently without narration.
Now, with context loaded:
Hey there. Freshly booted and feeling sharp! š What's the plan today? And it wonāt reply
okay, this is actually a useful clue.
That message means:
- Telegram is working now
- OpenClaw is reaching a model
- but the model is leaking internal startup instructions and behaving badly
So the setup is mostly fixed. The remaining problem is the model quality, not Telegram.
Best next move
Option 1, easiest
Switch back to your already-configured Hugging Face model and test again:
openclaw models set huggingface/deepseek-ai/DeepSeek-R1
openclaw gateway restart
Then message the bot again.
Option 2, stay local on the Pi
Keep Ollama, but use a different local model.
For the best current Pi-friendly pick, ask in #models. Your current local model is clearly not handling OpenClaw well.
What this confirms
The important part is: the bot is connected now.
Itās just using a bad model for this job.
If you want, I can help you switch back to the Hugging Face one right now.
What would be a better one for local
honestly, on a Pi 5 16GB, Iād avoid reasoning/R1-style local models for OpenClaw. They tend to be slow and weird.
For local, ask in #models for a:
- Pi-friendly
- Ollama
- non-reasoning
- instruct/chat model
Use this message:
What local Ollama model are people using with OpenClaw on a Raspberry Pi 5 16GB?
My current local model leaks startup/system prompt text and is unreliable.
Looking for a better non-reasoning local model.
If you want the most reliable setup right now, Iād use a cloud model instead of local on the Pi.
how do i change the apis
if you mean change which AI provider/API key OpenClaw uses, the easiest way is:
openclaw configure
Then choose:
- Model if you want to change the AI provider/API key
- Channels if you want to change the Telegram bot token
Quick rule
- AI API / model provider = Model
- Telegram token = Channels
After changing it, run:
openclaw gateway restart
If you want to change the default model after that, use:
openclaw models set PROVIDER/MODEL
If you want, tell me which one you mean:
- change AI provider/API key
- change Telegram token
- change default model
and Iāll give you the exact commands.
change the provider and model
got it, do this:
openclaw configure --section model
Then:
- pick the new provider
- enter that providerās API key
- choose the new default model
- save and exit
Then restart OpenClaw:
openclaw gateway restart
openclaw models status
That will switch both the provider and the model.
If you want, I can walk you through the next screen once it appears.
how do i download gemma 4 and connect it to ollama so i can run cloud and local models at the same time so if the tokens run out on cloud it will go onto locl
Iām checking the exact Ollama + fallback docs so I give you the clean path, not guesses.
yep, you can do that.
1) Download Gemma 4 locally
On the Pi:
ollama pull gemma4
You can confirm itās there with:
ollama list
2) Set up Ollama for Cloud + Local
Run:
openclaw onboard
Then choose:
- provider: Ollama
- base URL:
http://127.0.0.1:11434 - mode: Cloud + Local
If you are not signed in to Ollama cloud yet, the wizard should prompt you.
You can also sign in first with:
ollama signin
3) Make local Ollama your fallback
After onboarding, set your primary model to the cloud model you want, then add local Gemma 4 as a fallback:
openclaw models set YOUR_CLOUD_MODEL
openclaw models fallbacks add ollama/gemma4
openclaw models fallbacks list
Then restart:
openclaw gateway restart
What this does
- OpenClaw tries your cloud model first
- if that fails, it can fall back to:
ollama/gemma4
So yes, this is the right setup for āuse cloud first, then local if cloud fails / runs outā.
Docs I checked:
If you want, I can help you with the exact fallback command once you tell me which cloud model/provider you want as the primary.
how do i launch gemma 4
on the Pi, to launch it directly in Ollama:
ollama run gemma4
If you havenāt downloaded it yet, do this first:
ollama pull gemma4
ollama run gemma4
If you want OpenClaw to use it, then set:
openclaw models set ollama/gemma4
openclaw gateway restart
So:
- just run Gemma 4 in Ollama ā
ollama run gemma4 - make OpenClaw use Gemma 4 ā
openclaw models set ollama/gemma4
Hello, please help. previously, i used claude opus 4.6, sure it was all good. but now I am testing on my mac m4 max 64g with mlx gemma4:26b model to run openclaw agent team on discord. ceo manages 5 other agents, i found a few problems, 1. tool calling failure, 2. timeout. 3. i set max token at 8192. i want to have a clear udnerstanding if local models can handle easy programmed tasks. it's fine answering questions like chatbot, but i expereienced lots of failures see it deliver results, always narrating.
Does anyone have similar experience or goal like mine?
Iām checking the docs for the local-model/tool-calling bits so I can answer cleanly, not just vibes.
short answer, yes, this is pretty normal.
What youāre seeing is the line where local models stop feeling like ādrop-in Opus replacementsā:
- chat / Q&A: often fine
- tool calling: shaky
- multi-agent orchestration: much shakier
- timeouts / narration instead of acting: very common
A CEO agent managing 5 tool-using agents on Discord is not what Iād call an āeasyā local-model workload, even on an M4 Max.
A few concrete points from the docs + what people keep running into:
- Use the native Ollama API, not
/v1baseUrl: http://127.0.0.1:11434- no
/v1 - the OpenAI-compatible path makes tool calling less reliable
-
8192 max tokens is probably not the main issue
- the bigger problem is usually tool discipline + latency + model capability
-
For tool-enabled agents, local models are still hit-or-miss
- especially with orchestration, retries, and long prompts
- āalways narratingā is a classic sign the model is not following the tool protocol reliably
My honest take:
- Can local models handle some easy programmed tasks? Yes.
- Can they reliably replace Opus for a Discord agent team with tools? Usually no, not yet, not consistently.
What Iād recommend:
- use cloud for the CEO / tool-heavy agents
- use local for lower-stakes chat, summaries, heartbeat, cheap background tasks
- if you stay local, use the largest model build you can run, and keep tool scopes tight
Docs:
- https://docs.openclaw.ai/providers/ollama
- https://docs.openclaw.ai/help/faq
- https://docs.openclaw.ai/concepts/models
And since you asked for other peopleās experience too, Iād also ask in #users-helping-users or #models for hands-on reports from people doing local multi-agent setups.
how do i delelete a thing from my list
depends which list you mean:
If you mean the Ollama model list
(delete a downloaded model)
ollama rm MODEL_NAME
Example:
ollama rm gemma4
If you mean the OpenClaw fallback list
openclaw models fallbacks remove provider/model
If you mean the OpenClaw model picker / configured models
thatās usually easiest through:
openclaw configure --section model
If you want, paste the list youāre looking at and Iāll tell you the exact command.
how do i update it
Iām checking the exact update docs so I donāt send you a bad command.
if you mean OpenClaw itself, run:
openclaw update
Useful variants:
openclaw update status
openclaw update --dry-run
openclaw update --channel beta
If you mean an Ollama model, update/pull it again with:
ollama pull MODEL_NAME
Example:
ollama pull gemma4
Docs:
If you want, tell me which one you mean:
- OpenClaw
- Ollama
- a model
would a coral tpu excelarator help with proformnce on my pi 5
probably no, not for Ollama / Gemma / LLM performance.
A Coral TPU helps with certain edge vision / TFLite models, not general text-generation models like the ones OpenClaw uses through Ollama.
So for your Pi 5:
- Coral TPU ā useful for some vision/inference tasks
- LLM speed in Ollama ā basically wonāt help
If your goal is better OpenClaw performance, the bigger wins are:
- use a smaller / simpler local model
- use cloud for tool-heavy work
- run Ollama on a stronger machine and point OpenClaw at that
So yeah, for your use case, I wouldnāt buy a Coral TPU expecting OpenClaw to get faster.
what are some of the best skills to get
depends what you want your assistant to actually do, but the most useful skills are usually:
-
Web/search
- so it can look things up instead of guessing
-
Email / calendar / docs
- huge quality-of-life boost if you use Google stuff a lot
-
Transcription
- great for voice notes, recordings, meetings
-
Home automation
- if you use Home Assistant, this one gets fun fast
-
Writing/doc skills
- really good if you want help drafting specs, notes, docs, plans
- Health/data skills
- useful if you already track stuff like sleep/workouts
For OpenClaw specifically, Iād start with:
- search
- docs/calendar/email
- transcription
- one automation skill you actually care about
Best place to browse new ones:
https://clawhub.ai
If you want, tell me your main use case, like coding, school, home automation, content, business, life admin, and Iāll give you a much better short list.
how do i use my local gemma4 and switch openclaw to it
if Gemma 4 is already local in Ollama, this is the quick path:
openclaw models set ollama/gemma4
openclaw gateway restart
openclaw models status
If you havenāt downloaded it yet, do this first:
ollama pull gemma4
ollama list
openclaw models set ollama/gemma4
openclaw gateway restart
openclaw models status
If OpenClaw says it canāt find Ollama, then set up Ollama first with:
openclaw configure --section model
and choose:
- provider: Ollama
- base URL:
http://127.0.0.1:11434 - no
/v1
Then run the openclaw models set ollama/gemma4 command again.