opencode consult model update

This commit is contained in:
David Chen 2026-03-25 12:17:40 -07:00
parent 0320539129
commit aece9ae379
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
{ {
"model": "google/gemini-3-pro-preview" "model": "google/gemini-3.1-pro-preview"
} }

View file

@ -17,7 +17,7 @@ export default tool({
.describe("What you want the other model to weigh in on"), .describe("What you want the other model to weigh in on"),
}, },
async execute(args) { async execute(args) {
let model = "google/gemini-3-pro-preview" let model = "google/gemini-3.1-pro-preview"
try { try {
const configPath = join(homedir(), ".config/opencode/consult.json") const configPath = join(homedir(), ".config/opencode/consult.json")
const config = JSON.parse(readFileSync(configPath, "utf-8")) const config = JSON.parse(readFileSync(configPath, "utf-8"))