I want to use local ollama model to run heartbeat.
Openclaw Version: 2026.3.11
Model: qwen2.5-3b on cpu machine
My heartbeat config:
"heartbeat": {
"every": "1m",
"model": "ollama/qwen2.5-3b-64k:latest",
"lightContext": true
}
but the openclaw logs will report
12:00:01 warn agent/embedded {"subsystem":"agent/embedded"} Removed orphaned user message to prevent consecutive user turns. runId=45b64a2b-229c-4439-89c3-e39cac3286c7 sessionId=2a73ffd0-bea9-4015-b250-6b4de6df91b5
12:10:01 warn agent/embedded {"subsystem":"agent/embedded"} embedded run timeout: runId=45b64a2b-229c-4439-89c3-e39cac3286c7 sessionId=2a73ffd0-bea9-4015-b250-6b4de6df91b5 timeoutMs=600000
12:10:01 warn agent/embedded {"subsystem":"agent/embedded"} Profile ollama:default timed out. Trying next account...
I try to run curl to test the model ,all is ok:
meepo@meepopc:/data1/workspace$ curl -N http://localhost:11434/api/chat -d '{
"model": "qwen2.5-3b-64k:latest",
"messages": [
{ "role": "user", "content": "1+1=?" }
],
"options": {
"num_ctx": 32768
}
}'
{"model":"qwen2.5-3b-64k:latest","created_at":"2026-03-13T03:55:16.18305073Z","message":{"role":"assistant","content":"two"},"done":false}
{"model":"qwen2.5-3b-64k:latest","created_at":"2026-03-13T03:55:16.272794902Z","message":{"role":"assistant","content":""},"done":true,"done_reason":"stop","total_duration":602120389,"load_duration":263165407,"prompt_eval_count":39,"prompt_eval_duration":91826431,"eval_count":2,"eval_duration":86661250}
Is it because the OpenClaw HEARTBEAT is carrying too much context? Can we reduce it?