mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
opencode consult model update
This commit is contained in:
parent
0320539129
commit
aece9ae379
2 changed files with 2 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"model": "google/gemini-3-pro-preview"
|
"model": "google/gemini-3.1-pro-preview"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue