Commit 50f1fe2

Eric Bower  ·  2026-04-27 21:51:48 -0400 EDT
parent 1e53c8f
chore: pi dotfiles
3 files changed,  +38, -0
A dot_pi/agent/extensions/qwen-remote.ts
+25, -0
 1@@ -0,0 +1,25 @@
 2+import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
 3+
 4+export default function (pi: ExtensionAPI) {
 5+  pi.registerProvider("rackai", {
 6+    baseUrl: "http://10.2.20.242:8080",
 7+    apiKey: "key",
 8+    authHeader: true,
 9+    api: "openai-completions",
10+    models: [
11+      {
12+        id: "unsloth/Qwen3.6-27b",
13+        name: "Qwen3.6 27B (llama.cpp)",
14+        reasoning: true,
15+        input: ["text"],
16+        cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
17+        contextWindow: 100000,
18+        maxTokens: 8192,
19+        compat: {
20+          thinkingFormat: "qwen-chat-template",
21+          supportsDeveloperRole: false,
22+        },
23+      },
24+    ],
25+  });
26+}
A dot_pi/agent/settings.json
+9, -0
 1@@ -0,0 +1,9 @@
 2+{
 3+  "lastChangelogVersion": "0.70.5",
 4+  "packages": [
 5+    "npm:@deevus/pi-zmx",
 6+    "file:~/.pi/agent/extensions/qwen-remote.ts"
 7+  ],
 8+  "defaultProvider": "openai",
 9+  "defaultModel": "unsloth/Qwen3.6-27b"
10+}
M dotfiles.sh
+4, -0
 1@@ -2,6 +2,8 @@
 2 
 3 TRACKED_FILES=(
 4     bin/
 5+    dot_pi/agent/extensions/
 6+    dot_pi/agent/settings.json
 7     dot_config/
 8     dot/gitconfig
 9     dot/tmux.conf
10@@ -17,6 +19,8 @@ TRACKED_FILES=(
11 
12 TRACKED_LOCATIONS=(
13     ~/.local/bin/
14+    ~/.pi/agent/extensions/
15+    ~/.pi/agent/settings.json
16     ~/.config/
17     ~/.gitconfig
18     ~/.tmux.conf