copilot-custom-endpoint 1.0.2 → 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 +8 -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,7 +58,7 @@ 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
|
|
@@ -160,11 +160,16 @@ The proxy dynamically enables thinking in plain chat and disables it during tool
|
|
|
160
160
|
npm run proxy:qwen
|
|
161
161
|
# from this repo — both proxies concurrently
|
|
162
162
|
npm run proxy
|
|
163
|
-
# or with npx
|
|
163
|
+
# or with npx
|
|
164
164
|
npx copilot-custom-endpoint qwen
|
|
165
165
|
npx copilot-custom-endpoint # starts both proxies
|
|
166
166
|
# or directly
|
|
167
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
|
|
168
173
|
```
|
|
169
174
|
|
|
170
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
|
+
}
|