mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
feat: use gemini-3-flash-preview as default model name
This commit is contained in:
@@ -931,7 +931,7 @@ func authLoginGoogleAntigravity() {
|
||||
appCfg.Agents.Defaults.Provider = "antigravity"
|
||||
}
|
||||
if appCfg.Agents.Defaults.Provider == "antigravity" || appCfg.Agents.Defaults.Provider == "google-antigravity" {
|
||||
appCfg.Agents.Defaults.Model = "gemini-3-flash"
|
||||
appCfg.Agents.Defaults.Model = "gemini-3-flash-preview"
|
||||
}
|
||||
if err := config.SaveConfig(getConfigPath(), appCfg); err != nil {
|
||||
fmt.Printf("Warning: could not update config: %v\n", err)
|
||||
@@ -939,7 +939,7 @@ func authLoginGoogleAntigravity() {
|
||||
}
|
||||
|
||||
fmt.Println("\n✓ Google Antigravity login successful!")
|
||||
fmt.Println("Config updated: provider=antigravity, model=gemini-3-flash")
|
||||
fmt.Println("Config updated: provider=antigravity, model=gemini-3-flash-preview")
|
||||
fmt.Println("Try it: picoclaw agent -m \"Hello world\"")
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
const (
|
||||
antigravityBaseURL = "https://cloudcode-pa.googleapis.com"
|
||||
antigravityDefaultModel = "gemini-3-flash"
|
||||
antigravityDefaultModel = "gemini-3-flash-preview"
|
||||
antigravityUserAgent = "antigravity"
|
||||
antigravityXGoogClient = "google-cloud-sdk vscode_cloudshelleditor/0.1"
|
||||
antigravityVersion = "1.15.8"
|
||||
|
||||
Reference in New Issue
Block a user