@kenkaiiii/gg-agent 5.94.0 → 5.95.0
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.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -8
- package/dist/index.d.ts +4 -8
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -934,13 +934,11 @@ async function* agentLoop(messages, options) {
|
|
|
934
934
|
providerAttemptStartedAt = streamCallStart;
|
|
935
935
|
let liveApiKey = options.apiKey;
|
|
936
936
|
let liveAccountId = options.accountId;
|
|
937
|
-
let liveProjectId = options.projectId;
|
|
938
937
|
if (options.resolveCredentials) {
|
|
939
938
|
try {
|
|
940
939
|
const fresh = await options.resolveCredentials();
|
|
941
940
|
liveApiKey = fresh.apiKey;
|
|
942
|
-
|
|
943
|
-
if (fresh.projectId !== void 0) liveProjectId = fresh.projectId;
|
|
941
|
+
liveAccountId = fresh.accountId;
|
|
944
942
|
} catch (credErr) {
|
|
945
943
|
diag("credential_refresh_failed", {
|
|
946
944
|
error: (credErr instanceof Error ? credErr.message : String(credErr)).slice(0, 200)
|
|
@@ -1000,13 +998,11 @@ async function* agentLoop(messages, options) {
|
|
|
1000
998
|
signal,
|
|
1001
999
|
accountId: liveAccountId,
|
|
1002
1000
|
transportSessionId: options.transportSessionId,
|
|
1003
|
-
projectId: liveProjectId,
|
|
1004
1001
|
cacheRetention: options.cacheRetention,
|
|
1005
1002
|
// A hedge duplicates an already-observed request; observe it once.
|
|
1006
1003
|
onContextPrepared: arm === "primary" ? options.onContextPrepared : void 0,
|
|
1007
1004
|
promptCacheKey: options.promptCacheKey,
|
|
1008
1005
|
serviceTier: options.serviceTier,
|
|
1009
|
-
responsesLite: options.responsesLite,
|
|
1010
1006
|
strictTools: options.strictTools,
|
|
1011
1007
|
supportsImages: options.supportsImages,
|
|
1012
1008
|
supportsVideo: options.supportsVideo,
|