summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-08 23:44:14 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-08 23:44:14 +0000
commite5255dcc85c7c4bb0e8838c0064dd545ed0bd830 (patch)
tree4ab9eb814df90ebf6ac8db8a83a3387256e4bff4 /internal/api
parentcfbcc7b921c48fd2eaebcd814b49f3b8a02d7823 (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/api')
-rw-r--r--internal/api/elaborate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/elaborate.go b/internal/api/elaborate.go
index 907cb98..2f6c707 100644
--- a/internal/api/elaborate.go
+++ b/internal/api/elaborate.go
@@ -29,7 +29,7 @@ Output ONLY a valid JSON object matching this schema (no markdown fences, no pro
"description": string — 1-2 sentence summary,
"agent": {
"type": "claude" | "gemini",
- "model": string — "sonnet" for claude, "gemini-2.0-flash" for gemini,
+ "model": string — "sonnet" for claude, "gemini-2.5-flash-lite" for gemini,
"instructions": string — detailed, step-by-step instructions for the agent,
` + workDirLine + `
"max_budget_usd": number — conservative estimate (0.25–5.00),