summaryrefslogtreecommitdiff
path: root/pi
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 22:42:29 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 22:42:29 +0300
commit0e4f5ca14e6f5e1608888acbec575a6838a1a83c (patch)
tree07a8233b43da5dfff0103db9971683bc76d63c8c /pi
parent30508d25d0d7856eec82aedca8004690fb543da6 (diff)
feat(pi): add ollama provider with kimi-k2.6:cloud, qwen3.5:cloud, glm-5.1:cloud, minimax-m2.7:cloud
Diffstat (limited to 'pi')
-rw-r--r--pi/agent/models.json68
1 files changed, 68 insertions, 0 deletions
diff --git a/pi/agent/models.json b/pi/agent/models.json
index 3636503..d458a01 100644
--- a/pi/agent/models.json
+++ b/pi/agent/models.json
@@ -495,6 +495,74 @@
"maxTokens": 8192
}
]
+ },
+ "ollama": {
+ "baseUrl": "http://127.0.0.1:11434/v1",
+ "apiKey": "EMPTY",
+ "api": "openai-completions",
+ "compat": {
+ "supportsStore": false,
+ "supportsDeveloperRole": false,
+ "maxTokensField": "max_tokens"
+ },
+ "models": [
+ {
+ "id": "kimi-k2.6:cloud",
+ "name": "kimi-k2.6 [ollama]",
+ "reasoning": true,
+ "input": ["text"],
+ "cost": {
+ "input": 0,
+ "output": 0,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 262144,
+ "maxTokens": 8192
+ },
+ {
+ "id": "qwen3.5:cloud",
+ "name": "qwen3.5 [ollama]",
+ "reasoning": true,
+ "input": ["text"],
+ "cost": {
+ "input": 0,
+ "output": 0,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 262144,
+ "maxTokens": 32768
+ },
+ {
+ "id": "glm-5.1:cloud",
+ "name": "glm-5.1 [ollama]",
+ "reasoning": true,
+ "input": ["text"],
+ "cost": {
+ "input": 0,
+ "output": 0,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 202752,
+ "maxTokens": 131072
+ },
+ {
+ "id": "minimax-m2.7:cloud",
+ "name": "minimax-m2.7 [ollama]",
+ "reasoning": false,
+ "input": ["text"],
+ "cost": {
+ "input": 0,
+ "output": 0,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 204800,
+ "maxTokens": 128000
+ }
+ ]
}
}
}