@dianshuv/copilot-api 0.21.10 → 0.21.12
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 +3 -3
- package/dist/main.mjs +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ make down
|
|
|
80
80
|
|
|
81
81
|
### Hidden Models
|
|
82
82
|
|
|
83
|
-
By default the proxy hides
|
|
83
|
+
By default the proxy hides 53 stale / duplicate / unused upstream model ids from
|
|
84
84
|
its **listing surfaces** (`/v1/models` and the startup banner).
|
|
85
85
|
|
|
86
86
|
**Important**: this is a *display* filter only. The remaining POST endpoints
|
|
@@ -99,12 +99,12 @@ Currently hidden (grouped):
|
|
|
99
99
|
- **GPT-4o family** — `gpt-4o`, `gpt-4o-mini`, `gpt-4-o-preview`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4o-mini-2024-07-18`
|
|
100
100
|
- **GPT-4.1 family** — `gpt-4.1`, `gpt-4.1-2025-04-14`, `gpt-41-copilot`
|
|
101
101
|
- **Older / superseded GPT-5** — `gpt-5-mini`, `gpt-5.3-codex`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.5`, `gpt-5.6-luna`, `gpt-5.6-sol`, `gpt-5.6-sol-fast`, `gpt-5.6-terra`
|
|
102
|
-
- **Hidden GPT-6** — `gpt-6-sol`
|
|
102
|
+
- **Hidden GPT-6** — `gpt-6-sol`, `gpt-6-astra`
|
|
103
103
|
- **All embeddings** — `text-embedding-ada-002`, `text-embedding-3-small`, `text-embedding-3-small-inference`
|
|
104
104
|
- **Hidden Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.5-flash`, `gemini-3.6-flash`, `gemini-3.7-flash`, `gemini-3.8-flash`
|
|
105
105
|
- **Older Grok** — `grok-4.5`, `grok-4.6`
|
|
106
106
|
- **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`
|
|
107
|
-
- **Special-purpose** — `gpt-5.6-luna-utility`, `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `trajectory-compaction`
|
|
107
|
+
- **Special-purpose** — `gpt-5.6-luna-utility`, `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `mai-code-2-flash`, `trajectory-compaction`
|
|
108
108
|
|
|
109
109
|
## API Endpoints
|
|
110
110
|
|
package/dist/main.mjs
CHANGED
|
@@ -1035,7 +1035,7 @@ const logout = defineCommand({
|
|
|
1035
1035
|
|
|
1036
1036
|
//#endregion
|
|
1037
1037
|
//#region package.json
|
|
1038
|
-
var version = "0.21.
|
|
1038
|
+
var version = "0.21.12";
|
|
1039
1039
|
|
|
1040
1040
|
//#endregion
|
|
1041
1041
|
//#region src/lib/event-loop-lag.ts
|
|
@@ -2525,6 +2525,7 @@ const HIDDEN_MODEL_IDS = new Set([
|
|
|
2525
2525
|
"gpt-5.6-sol-fast",
|
|
2526
2526
|
"gpt-5.6-terra",
|
|
2527
2527
|
"gpt-6-sol",
|
|
2528
|
+
"gpt-6-astra",
|
|
2528
2529
|
"text-embedding-ada-002",
|
|
2529
2530
|
"text-embedding-3-small",
|
|
2530
2531
|
"text-embedding-3-small-inference",
|
|
@@ -2549,6 +2550,7 @@ const HIDDEN_MODEL_IDS = new Set([
|
|
|
2549
2550
|
"mai-code-1-flash-internal",
|
|
2550
2551
|
"mai-code-1-flash-picker",
|
|
2551
2552
|
"mai-code-1.1-flash",
|
|
2553
|
+
"mai-code-2-flash",
|
|
2552
2554
|
"trajectory-compaction"
|
|
2553
2555
|
]);
|
|
2554
2556
|
function isHiddenModel(id, showAll) {
|