I'm trying to get started with an Openclaw instance on a Pop_OS! Linux PC, that I connected with Ollama. Currently I have Ollama running Openclaw, and I can connect to the local hosted UI using http://localhost:18789. I've set the primary agent as ollama/glm-5.1:cloud. When I try to chat with the model in the local openclaw dashboard, I get an empty loading message and eventually it stops trying to render any message, and just shows: "Assistant 12:45 PM glm-5.1:cloud".
Here's a key-redacted section of my openclaw.json file:
{
"agents": {
"defaults": {
"model": {
"primary": "ollama/glm-5.1:cloud"
},
"models": {
"google/gemini-3.1-pro-preview": {}
},
"workspace": "/home/nathansmith/.openclaw/workspace"
},
"list": [
{
"id": "main",
"model": "ollama/glm-5.1:cloud"
}
]
},
...
"models": {
"providers": {
"ollama": {
"api": "ollama",
"apiKey": "ollama-local",
"baseUrl": "http://127.0.0.1:11434",
"models": [
{
"contextWindow": 202752,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "glm-5.1:cloud",
"input": [
"text"
],
"name": "glm-5.1:cloud",
"reasoning": true
}
]
}
}
},
...