I setup gemini with google api and everything worked fine but when I changed to OpenRouter non of the models are working (both paid and free). I have sufficient credits.
Here is my openclaw.json
{
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-a...1"
},
"agents": {
"defaults": {
"workspace": "/home/openclaw/.openclaw/workspace",
"model": {
"primary": "openrouter/nvidia/nemotron-3-super-120b-a12b:free",
"fallbacks": [
"openrouter/x-ai/grok-4.1-fast",
"openrouter/google/gemini-2.5-flash-lite"
]
},
"models": {
"openrouter/auto": {
"alias": "OpenRouter"
},
"openrouter/x-ai/grok-4.1-fast": {
"alias": "grok"
},
"openrouter/google/gemini-2.5-flash-lite": {
"alias": "gemini"
},
"openrouter/deepseek/deepseek-r1": {
"alias": "ds"
},
"openrouter/nvidia/nemotron-3-super-120b-a12b:free": {}
},
"heartbeat": {
"every": "12h",
"model": "openrouter/google/gemini-2.5-flash-lite",
"target": "last"
},
"subagents": {
"model": "openrouter/x-ai/grok-4.1-fast",
"maxConcurrent": 1,
"archiveAfterMinutes": 60
},
...
The error I am getting in logs:
"incomplete turn detected: runId=baaba0ec-8590-4c22-ab1b-35c0f4a5b346 sessionId=282c4e00-039e-4743-9064-956c57f671d4 stopReason=stop payloads=0 — surfacing error to user"