()
| 17 | } |
| 18 | |
| 19 | func NewAntigravityEngine() *AntigravityEngine { |
| 20 | return &AntigravityEngine{ |
| 21 | BaseEngine: BaseEngine{ |
| 22 | id: "antigravity", |
| 23 | displayName: "Antigravity CLI", |
| 24 | description: "Antigravity CLI with headless mode and LLM gateway support", |
| 25 | experimental: true, |
| 26 | ghSkillAgentName: "antigravity", |
| 27 | capabilities: EngineCapabilities{ |
| 28 | ToolsAllowlist: true, |
| 29 | MaxTurns: true, |
| 30 | MaxContinuations: false, // Antigravity CLI does not support --max-autopilot-continues-style continuation mode |
| 31 | WebSearch: false, |
| 32 | NativeAgentFile: false, // Antigravity does not support agent file natively; the compiler prepends the agent file content to prompt.txt |
| 33 | }, |
| 34 | dedicatedLLMGatewayPort: constants.AntigravityLLMGatewayPort, |
| 35 | }, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // GetModelEnvVarName returns the native environment variable name that the Antigravity CLI uses |
| 40 | // for model selection. Setting ANTIGRAVITY_MODEL is equivalent to passing --model to the CLI. |
no outgoing calls