40 lines
853 B
Plaintext
40 lines
853 B
Plaintext
{
|
|
"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": "${OLLAMA_BASE_URL}/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
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|