refactor(thinking): extract antigravity logic into a dedicated provider

This commit is contained in:
hkfires
2026-01-15 19:08:22 +08:00
parent fe5b3c80cb
commit 4ad6189487
6 changed files with 205 additions and 90 deletions

View File

@@ -22,9 +22,7 @@ func NewApplier() *Applier {
}
func init() {
applier := NewApplier()
thinking.RegisterProvider("gemini-cli", applier)
thinking.RegisterProvider("antigravity", applier)
thinking.RegisterProvider("gemini-cli", NewApplier())
}
// Apply applies thinking configuration to Gemini CLI request body.