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