diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 23:44:14 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 23:44:14 +0000 |
| commit | e5255dcc85c7c4bb0e8838c0064dd545ed0bd830 (patch) | |
| tree | 4ab9eb814df90ebf6ac8db8a83a3387256e4bff4 /internal/executor/gemini_test.go | |
| parent | cfbcc7b921c48fd2eaebcd814b49f3b8a02d7823 (diff) | |
executor: update gemini model to 2.5-flash-lite and fix classifier parsing
Update the default Gemini model and classification prompt to use gemini-2.5-flash-lite, which is the current available model. Improved the classifier's parsing logic to correctly handle the JSON envelope returned by the gemini CLI (stripping 'response' wrapper and 'Loaded cached credentials' noise).
Diffstat (limited to 'internal/executor/gemini_test.go')
| -rw-r--r-- | internal/executor/gemini_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/executor/gemini_test.go b/internal/executor/gemini_test.go index 42253da..363f0e9 100644 --- a/internal/executor/gemini_test.go +++ b/internal/executor/gemini_test.go @@ -17,7 +17,7 @@ func TestGeminiRunner_BuildArgs_BasicTask(t *testing.T) { Agent: task.AgentConfig{ Type: "gemini", Instructions: "fix the bug", - Model: "gemini-2.0-flash", + Model: "gemini-2.5-flash-lite", SkipPlanning: true, }, } @@ -33,7 +33,7 @@ func TestGeminiRunner_BuildArgs_BasicTask(t *testing.T) { for _, a := range args { argMap[a] = true } - for _, want := range []string{"--output-format", "stream-json", "--model", "gemini-2.0-flash"} { + for _, want := range []string{"--output-format", "stream-json", "--model", "gemini-2.5-flash-lite"} { if !argMap[want] { t.Errorf("missing arg %q in %v", want, args) } |
