@dianshuv/copilot-api 0.7.5 → 0.7.6
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/dist/main.mjs +3 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -1213,7 +1213,7 @@ const patchClaude = defineCommand({
|
|
|
1213
1213
|
|
|
1214
1214
|
//#endregion
|
|
1215
1215
|
//#region package.json
|
|
1216
|
-
var version = "0.7.
|
|
1216
|
+
var version = "0.7.6";
|
|
1217
1217
|
|
|
1218
1218
|
//#endregion
|
|
1219
1219
|
//#region src/lib/adaptive-rate-limiter.ts
|
|
@@ -7135,6 +7135,8 @@ function translateModelName(model) {
|
|
|
7135
7135
|
}
|
|
7136
7136
|
if (/^claude-sonnet-4-5-\d+$/.test(model)) return "claude-sonnet-4.5";
|
|
7137
7137
|
if (/^claude-sonnet-4-\d+$/.test(model)) return "claude-sonnet-4";
|
|
7138
|
+
if (model === "claude-opus-4-7-1m") return "claude-opus-4.7-1m-internal";
|
|
7139
|
+
if (/^claude-opus-4-7$/.test(model)) return "claude-opus-4.7";
|
|
7138
7140
|
if (model === "claude-opus-4-6-1m") return "claude-opus-4.6-1m";
|
|
7139
7141
|
if (/^claude-opus-4-6$/.test(model)) return "claude-opus-4.6";
|
|
7140
7142
|
if (/^claude-opus-4-5-\d+$/.test(model)) return "claude-opus-4.5";
|