Commit 7804c0f9b8dc

Vincent Demeester <vincent@sbr.pm>
2026-02-18 15:31:53
feat(pi): added new modes and fixed llama-cpp URL
Added wide, flash, free, free-code, and local modes for Gemini, GitHub Copilot, OpenRouter, and local llama-cpp providers. Renamed fast to fast-work. Fixed llama-cpp baseUrl to include /v1 path.
1 parent 61d0536
Changed files (2)
dots/pi/agent/models.json
@@ -1,7 +1,7 @@
 {
   "providers": {
     "llama-cpp": {
-      "baseUrl": "https://llm.sbr.pm",
+      "baseUrl": "https://llm.sbr.pm/v1",
       "api": "openai-completions",
       "apiKey": "local-test",
       "models": [
dots/pi/agent/modes.json
@@ -7,7 +7,7 @@
       "modelId": "claude-sonnet-4-5@20250929",
       "thinkingLevel": "minimal"
     },
-    "fast": {
+    "fast-work": {
       "provider": "google-vertex-claude",
       "modelId": "claude-sonnet-4-5@20250929",
       "thinkingLevel": "off",
@@ -18,6 +18,36 @@
       "modelId": "claude-opus-4-6",
       "thinkingLevel": "low",
       "color": "#b45309"
+    },
+    "wide": {
+      "provider": "google",
+      "modelId": "gemini-3-pro-preview",
+      "thinkingLevel": "low",
+      "color": "#4285f4"
+    },
+    "flash": {
+      "provider": "google",
+      "modelId": "gemini-2.5-flash",
+      "thinkingLevel": "minimal",
+      "color": "#34a853"
+    },
+    "free": {
+      "provider": "github-copilot",
+      "modelId": "claude-sonnet-4.5",
+      "thinkingLevel": "minimal",
+      "color": "#6366f1"
+    },
+    "free-code": {
+      "provider": "openrouter",
+      "modelId": "qwen/qwen3-coder:free",
+      "thinkingLevel": "off",
+      "color": "#f59e0b"
+    },
+    "local": {
+      "provider": "llama-cpp",
+      "modelId": "Qwen/Qwen3-Coder-Next-GGUF:Q3_K_M",
+      "thinkingLevel": "off",
+      "color": "#ef4444"
     }
   }
 }