@dianshuv/copilot-api 0.21.0 → 0.21.2
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 +4 -3
- package/dist/main.mjs +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ make down
|
|
|
67
67
|
|
|
68
68
|
### Hidden Models
|
|
69
69
|
|
|
70
|
-
By default the proxy hides
|
|
70
|
+
By default the proxy hides 42 stale / duplicate / unused upstream model ids from
|
|
71
71
|
its **listing surfaces** (`/v1/models` and the startup banner).
|
|
72
72
|
|
|
73
73
|
**Important**: this is a *display* filter only. The remaining POST endpoints
|
|
@@ -87,9 +87,10 @@ Currently hidden (grouped):
|
|
|
87
87
|
- **GPT-4.1 family** — `gpt-4.1`, `gpt-4.1-2025-04-14`, `gpt-41-copilot`
|
|
88
88
|
- **Older / smaller GPT-5** — `gpt-5-mini`, `gpt-5.3-codex`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.5`
|
|
89
89
|
- **All embeddings** — `text-embedding-ada-002`, `text-embedding-3-small`, `text-embedding-3-small-inference`
|
|
90
|
-
- **Older Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.5-flash`
|
|
90
|
+
- **Older Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.5-flash`, `gemini-3.6-flash`
|
|
91
|
+
- **Older Grok** — `grok-4.5`
|
|
91
92
|
- **Older / variant Claude** — `claude-opus-4.5`, `claude-opus-4.6`, `claude-opus-4.7`, `claude-opus-4.8`, `claude-opus-4.7-high`, `claude-opus-4.7-xhigh`, `claude-sonnet-4.5`, `claude-sonnet-4.6`
|
|
92
|
-
- **Special-purpose** — `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `trajectory-compaction`
|
|
93
|
+
- **Special-purpose** — `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `trajectory-compaction`
|
|
93
94
|
|
|
94
95
|
## API Endpoints
|
|
95
96
|
|
package/dist/main.mjs
CHANGED
|
@@ -1011,7 +1011,7 @@ const logout = defineCommand({
|
|
|
1011
1011
|
|
|
1012
1012
|
//#endregion
|
|
1013
1013
|
//#region package.json
|
|
1014
|
-
var version = "0.21.
|
|
1014
|
+
var version = "0.21.2";
|
|
1015
1015
|
|
|
1016
1016
|
//#endregion
|
|
1017
1017
|
//#region src/lib/event-loop-lag.ts
|
|
@@ -2501,7 +2501,10 @@ const HIDDEN_MODEL_IDS = new Set([
|
|
|
2501
2501
|
"text-embedding-3-small-inference",
|
|
2502
2502
|
"gemini-2.5-pro",
|
|
2503
2503
|
"gemini-3-flash-preview",
|
|
2504
|
+
"gemini-3.1-pro-preview",
|
|
2504
2505
|
"gemini-3.5-flash",
|
|
2506
|
+
"gemini-3.6-flash",
|
|
2507
|
+
"grok-4.5",
|
|
2505
2508
|
"claude-opus-4.5",
|
|
2506
2509
|
"claude-opus-4.6",
|
|
2507
2510
|
"claude-opus-4.7",
|
|
@@ -2512,6 +2515,7 @@ const HIDDEN_MODEL_IDS = new Set([
|
|
|
2512
2515
|
"claude-sonnet-4.6",
|
|
2513
2516
|
"mai-code-1-flash-internal",
|
|
2514
2517
|
"mai-code-1-flash-picker",
|
|
2518
|
+
"mai-code-1.1-flash",
|
|
2515
2519
|
"trajectory-compaction"
|
|
2516
2520
|
]);
|
|
2517
2521
|
function isHiddenModel(id, showAll) {
|