@expiren/opencode-antigravity-auth 1.6.19 → 1.6.20
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/index.js +5 -2
- package/dist/index.js.map +2 -2
- package/dist/src/plugin/model-registry.d.ts +1 -1
- package/dist/src/plugin/model-registry.d.ts.map +1 -1
- package/dist/src/plugin/model-registry.js +3 -0
- package/dist/src/plugin/model-registry.js.map +1 -1
- package/dist/src/plugin/quota.d.ts +1 -1
- package/dist/src/plugin/quota.d.ts.map +1 -1
- package/dist/src/plugin/quota.js +3 -3
- package/dist/src/plugin/quota.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2032,7 +2032,10 @@ var QUOTA_GROUP_BY_MODEL_ID = {
|
|
|
2032
2032
|
"gemini-3.1-pro-high": "gemini-pro",
|
|
2033
2033
|
"gemini-3-flash": "gemini-flash",
|
|
2034
2034
|
"gemini-3-flash-agent": "gemini-flash",
|
|
2035
|
-
"gemini-3.5-flash-low": "gemini-flash"
|
|
2035
|
+
"gemini-3.5-flash-low": "gemini-flash",
|
|
2036
|
+
"gemini-3.1-flash-image": "gemini-flash",
|
|
2037
|
+
"gpt-oss-120b": "gpt-oss",
|
|
2038
|
+
"gpt-oss-120b-medium": "gpt-oss"
|
|
2036
2039
|
};
|
|
2037
2040
|
var OPENCODE_MODEL_DEFINITIONS = PUBLIC_MODEL_DEFINITIONS;
|
|
2038
2041
|
function getResolverAliasMap() {
|
|
@@ -10287,7 +10290,7 @@ function aggregateGeminiCliQuota(response) {
|
|
|
10287
10290
|
continue;
|
|
10288
10291
|
}
|
|
10289
10292
|
const modelId = bucket.modelId;
|
|
10290
|
-
const isRelevantModel = modelId.startsWith("gemini-3-") || modelId
|
|
10293
|
+
const isRelevantModel = modelId.startsWith("gemini-3-") || modelId.startsWith("gemini-3.") || modelId.startsWith("gemini-2.5-");
|
|
10291
10294
|
if (!isRelevantModel) {
|
|
10292
10295
|
continue;
|
|
10293
10296
|
}
|