I have a different config json structur from the one in the docs. My config is:
"auth": {
"profiles": {
"anthropic:clawdbot": {
"provider": "anthropic",
"mode": "token"
},
"anthropic:default": {
"provider": "anthropic",
"mode": "token"
},
"anthropic:claude-cli": {
"provider": "anthropic",
"mode": "oauth"
},
"zai:default": {
"provider": "zai",
"mode": "api_key"
}
},
"cooldowns": {
"billingBackoffHours": 1,
"billingBackoffHoursByProvider": {
"anthropic": 1
},
"billingMaxHours": 24,
"failureWindowHours": 24
}
},
but according to docs it should be:
models: {
providers: {
ollama: {
// Use a host that includes /v1 for OpenAI-compatible APIs
baseUrl: "http://ollama-host:11434/v1",
apiKey: "ollama-local",
api: "openai-completions",
models: [
{
id: "llama3.3",
name: "Llama 3.3",
reasoning: false,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 8192,
maxTokens: 8192 * 10
}
]
}
}
}
}
Why is it different? Also ollama says auth "no"