@dianshuv/copilot-api 0.7.8 → 0.7.9
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 +4 -4
- 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.9";
|
|
1217
1217
|
|
|
1218
1218
|
//#endregion
|
|
1219
1219
|
//#region src/lib/adaptive-rate-limiter.ts
|
|
@@ -4713,10 +4713,10 @@ function handleNonStreamResponse(c, response, model, ctx, payload) {
|
|
|
4713
4713
|
* the Copilot model list, so if Copilot adds native support the request
|
|
4714
4714
|
* goes through unchanged.
|
|
4715
4715
|
*/
|
|
4716
|
-
const GEMINI_FORCED_ALIASES = { "gemini-
|
|
4716
|
+
const GEMINI_FORCED_ALIASES = { "gemini-3.1-pro-preview-customtools": "gemini-3.1-pro-preview" };
|
|
4717
4717
|
const GEMINI_CONDITIONAL_ALIASES = {
|
|
4718
|
-
"gemini-2.5-flash-lite": "gemini-3-flash
|
|
4719
|
-
"gemini-2.5-flash": "gemini-3-flash
|
|
4718
|
+
"gemini-2.5-flash-lite": "gemini-3.5-flash",
|
|
4719
|
+
"gemini-2.5-flash": "gemini-3.5-flash"
|
|
4720
4720
|
};
|
|
4721
4721
|
function resolveGeminiModelAlias(model) {
|
|
4722
4722
|
if (model in GEMINI_FORCED_ALIASES) return GEMINI_FORCED_ALIASES[model];
|