From 0e4f5ca14e6f5e1608888acbec575a6838a1a83c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 24 May 2026 22:42:29 +0300 Subject: feat(pi): add ollama provider with kimi-k2.6:cloud, qwen3.5:cloud, glm-5.1:cloud, minimax-m2.7:cloud --- pi/agent/models.json | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) 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 + } + ] } } } -- cgit v1.2.3