Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export AIXGO_VERTEX_LOCATION="us-central1" # optional
export AIXGO_VERTEX_API_KEY="<key-or-sa-json>"
```

In GitHub Actions, pass reusable-workflow inputs `vertex-project`, `vertex-location`, and secret `vertex-api-key` instead of Azure. The workflow installs `@google/gemini-cli` when `vertex-project` is set. Default model is `gemini-2.5-pro` (override with `--model` / workflow `model:`).
In GitHub Actions, pass reusable-workflow inputs `vertex-project`, `vertex-location`, and secret `vertex-api-key` instead of Azure. The workflow installs `@google/gemini-cli` when `vertex-project` is set. Default model is `gemini-3.5-flash` (override with `--model` / workflow `model:`).

## Deployment model

Expand Down
2 changes: 1 addition & 1 deletion cmd/aixgo-code/init_select.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func callerEngineBlocks(engine string) (inputs, secrets string) {
case "gemini":
inputs = " vertex-project: ${{ vars.AIXGO_VERTEX_PROJECT }}\n" +
" vertex-location: ${{ vars.AIXGO_VERTEX_LOCATION }}\n" +
" # model: gemini-2.5-pro"
" # model: gemini-3.5-flash"
secrets = " vertex-api-key: ${{ secrets.AIXGO_VERTEX_API_KEY }}\n" +
" github-app-private-key: ${{ secrets.AIXGO_GH_APP_PRIVATE_KEY }}"
case "claude":
Expand Down
2 changes: 1 addition & 1 deletion cmd/aixgo-code/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func newRunner(cfg *config.Config, codexHome, model string) engine.Runner {
}
if cfg.Engine == "gemini" {
if model == "" || model == "gpt-5.4" {
model = "gemini-2.5-pro"
model = "gemini-3.5-flash"
}
return &gemini.Runner{Model: model}
}
Expand Down
6 changes: 3 additions & 3 deletions cmd/aixgo-code/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1079,11 +1079,11 @@ func TestNewRunnerSelectsTheEngine(t *testing.T) {
if !ok {
t.Fatal("engine: gemini must select the Gemini adapter")
}
if g.Model != "gemini-2.5-pro" {
t.Fatalf("gemini default model = %q, want gemini-2.5-pro", g.Model)
if g.Model != "gemini-3.5-flash" {
t.Fatalf("gemini default model = %q, want gemini-3.5-flash", g.Model)
}
g2, _ := newRunner(&config.Config{Engine: "gemini"}, t.TempDir(), "gpt-5.4").(*gemini.Runner)
if g2.Model != "gemini-2.5-pro" {
if g2.Model != "gemini-3.5-flash" {
t.Fatalf("the Codex default must not be forwarded to Gemini: %q", g2.Model)
}
g3, _ := newRunner(&config.Config{Engine: "gemini"}, t.TempDir(), "gemini-2.5-flash").(*gemini.Runner)
Expand Down
4 changes: 2 additions & 2 deletions internal/engine/gemini/gemini_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ func TestRunPassesThePromptAndModel(t *testing.T) {
r.Bin = writeFakeGemini(t, echoArgs)
res, err := r.Run(context.Background(), domain.RunRequest{
Role: domain.RoleImplementer, WorkDir: t.TempDir(),
Prompt: "do the thing", Model: "gemini-2.5-pro",
Prompt: "do the thing", Model: "gemini-3.5-flash",
})
if err != nil {
t.Fatalf("unexpected error: %v", err)
}
for _, want := range []string{"-p", "do the thing", "-m", "gemini-2.5-pro"} {
for _, want := range []string{"-p", "do the thing", "-m", "gemini-3.5-flash"} {
if !strings.Contains(res.Summary, want) {
t.Fatalf("args missing %q: %s", want, res.Summary)
}
Expand Down
Loading