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