feat: update opencode settings to use model version with bigger context.
This commit is contained in:
parent
22565726b3
commit
a95d2aaba4
2 changed files with 25 additions and 3 deletions
|
|
@ -28,7 +28,7 @@
|
|||
programs.opencode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
model = "ollama/gpt-oss:20b";
|
||||
model = "ollama/gpt-oss-20b-high-32k";
|
||||
provider = {
|
||||
ollama = {
|
||||
npm = "@ai-sdk/openai-compatible";
|
||||
|
|
@ -37,10 +37,16 @@
|
|||
baseURL = "http://127.0.0.1:11434/v1";
|
||||
};
|
||||
models = {
|
||||
"gpt-oss:20b" = {
|
||||
name = "gpt-oss:20b";
|
||||
"gpt-oss-20b-high-32k" = {
|
||||
name = "gpt oss";
|
||||
id = "gpt-oss-20b-32k";
|
||||
reasoning = true;
|
||||
tools = true;
|
||||
options = {
|
||||
extraBody = {
|
||||
think = "high";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue