{ "gateway": { "mode": "local", "port": 18789, "bind": "lan", "auth": { "mode": "token" }, "http": { "endpoints": { "chatCompletions": { "enabled": true } } } }, "agents": { "defaults": { "workspace": "/home/node/workspace", "model": { "primary": "zai/glm-5" } } }, "models": { "mode": "merge", "providers": { "ollama": { "baseUrl": "http://10.1.1.42:11434/v1", "api": "openai-completions", "models": [ { "id": "cogito", "name": "Cogito (Local Reasoning)", "reasoning": false, "input": ["text"], "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "contextWindow": 128000, "maxTokens": 8192 } ] } } } }