@google/gemini-cli-a2a-server 0.60.0-preview.0 → 0.61.0-nightly.20260909.ged2ac40df
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/a2a-server.mjs +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -140809,7 +140809,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
140809
140809
|
if (resolved === "none") {
|
|
140810
140810
|
return DEFAULT_GEMINI_FLASH_LITE_MODEL;
|
|
140811
140811
|
}
|
|
140812
|
-
if (useGemini3_5Flash &&
|
|
140812
|
+
if (useGemini3_5Flash && isPromotableFlashModel(resolved) && normalizedModel !== PREVIEW_GEMINI_FLASH_MODEL) {
|
|
140813
140813
|
return DEFAULT_GEMINI_FLASH_MODEL;
|
|
140814
140814
|
}
|
|
140815
140815
|
if (!hasAccessToPreview && isPreviewModel(resolved)) {
|
|
@@ -140832,8 +140832,8 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
140832
140832
|
}
|
|
140833
140833
|
return resolved;
|
|
140834
140834
|
}
|
|
140835
|
-
function
|
|
140836
|
-
return model === DEFAULT_GEMINI_FLASH_MODEL || model === PREVIEW_GEMINI_FLASH_MODEL || model === DEFAULT_GEMINI_3_5_FLASH_MODEL || model === SECONDARY_GEMINI_3_5_FLASH_MODEL || model ===
|
|
140835
|
+
function isPromotableFlashModel(model) {
|
|
140836
|
+
return model === DEFAULT_GEMINI_FLASH_MODEL || model === PREVIEW_GEMINI_FLASH_MODEL || model === DEFAULT_GEMINI_3_5_FLASH_MODEL || model === SECONDARY_GEMINI_3_5_FLASH_MODEL || model === GEMINI_MODEL_ALIAS_FLASH;
|
|
140837
140837
|
}
|
|
140838
140838
|
function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config2, useGemini3_5Flash = false) {
|
|
140839
140839
|
if (config2?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
@@ -221545,8 +221545,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
221545
221545
|
var init_git_commit = __esm({
|
|
221546
221546
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
221547
221547
|
"use strict";
|
|
221548
|
-
GIT_COMMIT_INFO = "
|
|
221549
|
-
CLI_VERSION = "0.
|
|
221548
|
+
GIT_COMMIT_INFO = "ed2ac40df";
|
|
221549
|
+
CLI_VERSION = "0.61.0-nightly.20260909.ged2ac40df";
|
|
221550
221550
|
}
|
|
221551
221551
|
});
|
|
221552
221552
|
|
|
@@ -337277,7 +337277,7 @@ function getVersion() {
|
|
|
337277
337277
|
}
|
|
337278
337278
|
versionPromise = (async () => {
|
|
337279
337279
|
const pkgJson = await getPackageJson(__dirname4);
|
|
337280
|
-
return "0.
|
|
337280
|
+
return "0.61.0-nightly.20260909.ged2ac40df";
|
|
337281
337281
|
})();
|
|
337282
337282
|
return versionPromise;
|
|
337283
337283
|
}
|