Eric Bower
·
2026-04-27
1import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
2
3export default function (pi: ExtensionAPI) {
4 pi.registerProvider("rackai", {
5 baseUrl: "http://10.2.20.242:8080",
6 apiKey: "key",
7 authHeader: true,
8 api: "openai-completions",
9 models: [
10 {
11 id: "unsloth/Qwen3.6-27b",
12 name: "Qwen3.6 27B (llama.cpp)",
13 reasoning: true,
14 input: ["text"],
15 cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
16 contextWindow: 100000,
17 maxTokens: 8192,
18 compat: {
19 thinkingFormat: "qwen-chat-template",
20 supportsDeveloperRole: false,
21 },
22 },
23 ],
24 });
25}