Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions open-sse/executors/antigravity.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ export class AntigravityExecutor extends BaseExecutor {
? cleanJSONSchemaForAntigravity(structuredClone(fn.parameters))
: { type: "object", properties: { reason: { type: "string", description: "Brief explanation" } }, required: ["reason"] }
});
// Strip parametersJsonSchema — v1internal uses parameters only;
// both fields cause 400 "must not be set when parameters is set".
delete allDeclarations[allDeclarations.length - 1].parametersJsonSchema;
}
}
tools = allDeclarations.length > 0 ? [{ functionDeclarations: allDeclarations }] : [];
Expand Down
Loading