Fix AG
This commit is contained in:
@@ -18,8 +18,16 @@ function sanitizeFunctionName(name) {
|
|||||||
const MAX_RETRY_AFTER_MS = 10000;
|
const MAX_RETRY_AFTER_MS = 10000;
|
||||||
const MAX_ANTIGRAVITY_OUTPUT_TOKENS = 16384;
|
const MAX_ANTIGRAVITY_OUTPUT_TOKENS = 16384;
|
||||||
|
|
||||||
// Fields Google generateContent rejects (e.g. Claude adaptive output_config) — stripped from antigravity request envelope
|
// Fields Google generateContent rejects (Claude/OpenAI/Qwen thinking fields set at body root by thinkingUnified.js)
|
||||||
const ANTIGRAVITY_REQUEST_BLACKLIST = ["output_config"];
|
const ANTIGRAVITY_REQUEST_BLACKLIST = [
|
||||||
|
"output_config",
|
||||||
|
"thinking",
|
||||||
|
"reasoning_effort",
|
||||||
|
"reasoning",
|
||||||
|
"enable_thinking",
|
||||||
|
"thinking_budget",
|
||||||
|
"thinkingConfig",
|
||||||
|
];
|
||||||
|
|
||||||
export class AntigravityExecutor extends BaseExecutor {
|
export class AntigravityExecutor extends BaseExecutor {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|||||||
Reference in New Issue
Block a user