@expiren/opencode-antigravity-auth 1.6.43 → 1.6.44
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 +3 -3
- package/dist/index.js.map +2 -2
- package/dist/src/plugin.d.ts.map +1 -1
- package/dist/src/plugin.js +3 -2
- package/dist/src/plugin.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12736,12 +12736,12 @@ var createAntigravityPlugin = (providerId) => async ({ client, directory }) => {
|
|
|
12736
12736
|
const parsed = JSON.parse(bodyStr);
|
|
12737
12737
|
parsed.generationConfig = {
|
|
12738
12738
|
...parsed.generationConfig ?? {},
|
|
12739
|
-
maxOutputTokens: 1
|
|
12740
|
-
candidateCount: 1
|
|
12739
|
+
maxOutputTokens: 1
|
|
12741
12740
|
};
|
|
12741
|
+
delete parsed.generationConfig.candidateCount;
|
|
12742
12742
|
if (parsed.generationConfig.thinkingConfig) {
|
|
12743
12743
|
parsed.generationConfig.thinkingConfig = {
|
|
12744
|
-
thinkingBudget:
|
|
12744
|
+
thinkingBudget: 128
|
|
12745
12745
|
};
|
|
12746
12746
|
}
|
|
12747
12747
|
const probeHeaders = new Headers(prepared.init.headers ?? {});
|