copilot-custom-endpoint 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Github Copilot Custom Endpoints
|
|
2
2
|
|
|
3
|
-
> **TL;DR** — As of **June 1, 2026**, GitHub Copilot switched to usage-based billing (AI Credits), making every chat and agent session
|
|
3
|
+
> **TL;DR** — As of **June 1, 2026**, GitHub Copilot switched to usage-based billing (AI Credits), making every chat and agent session burn credits fast. This repo documents a practical workaround: use **cheaper, non-GitHub models** (DeepSeek, Kimi, Qwen) inside VS Code's Copilot chat — often at **5–55× lower cost** while retaining agent mode, tool calling, and streaming. We keep validated, copy-paste-ready configs and a small local proxy that smooths out provider quirks.
|
|
4
4
|
|
|
5
5
|
## What is this?
|
|
6
6
|
|
|
@@ -58,11 +58,16 @@ The proxy rewrites VS Code's requests into shapes Kimi actually accepts (fixed `
|
|
|
58
58
|
npm run proxy:kimi
|
|
59
59
|
# from this repo — both proxies concurrently
|
|
60
60
|
npm run proxy
|
|
61
|
-
# or with npx
|
|
61
|
+
# or with npx
|
|
62
62
|
npx copilot-custom-endpoint kimi
|
|
63
63
|
npx copilot-custom-endpoint # starts both proxies
|
|
64
64
|
# or directly
|
|
65
65
|
node proxy/kimi-proxy.mjs
|
|
66
|
+
|
|
67
|
+
# clean up debug logs
|
|
68
|
+
npm run clean:logs
|
|
69
|
+
# or with npx
|
|
70
|
+
npx copilot-custom-endpoint clean
|
|
66
71
|
```
|
|
67
72
|
|
|
68
73
|
You should see:
|
|
@@ -155,11 +160,16 @@ The proxy dynamically enables thinking in plain chat and disables it during tool
|
|
|
155
160
|
npm run proxy:qwen
|
|
156
161
|
# from this repo — both proxies concurrently
|
|
157
162
|
npm run proxy
|
|
158
|
-
# or with npx
|
|
163
|
+
# or with npx
|
|
159
164
|
npx copilot-custom-endpoint qwen
|
|
160
165
|
npx copilot-custom-endpoint # starts both proxies
|
|
161
166
|
# or directly
|
|
162
167
|
node proxy/qwen-proxy.mjs
|
|
168
|
+
|
|
169
|
+
# clean up debug logs
|
|
170
|
+
npm run clean:logs
|
|
171
|
+
# or with npx
|
|
172
|
+
npx copilot-custom-endpoint clean
|
|
163
173
|
```
|
|
164
174
|
|
|
165
175
|
You should see:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copilot-custom-endpoint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Local proxies for VS Code Copilot custom endpoints — Kimi K2 & Qwen 3.x",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
"globals": "^17.6.0",
|
|
49
49
|
"prettier": "^3.8.3"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|