Add opencode models
This commit is contained in:
@@ -18,5 +18,11 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/home/pan/pro" = {
|
||||||
|
device = "/dev/disk/by-uuid/9a37862c-85db-4434-b06a-ec8c2713ecc9";
|
||||||
|
fsType = "ext4"; # or xfs, etc.
|
||||||
|
options = [ "defaults" "nofail" "x-systemd.automount" ];
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,10 @@ in
|
|||||||
};
|
};
|
||||||
models = {
|
models = {
|
||||||
"claude-opus-4-6-default" = { name = "Opus 4.6"; };
|
"claude-opus-4-6-default" = { name = "Opus 4.6"; };
|
||||||
|
"claude-sonnet-4-5-20250929" = { name = "Sonnet 4.5"; };
|
||||||
|
"claude-haiku-4-5-20251001" = { name = "Haiku 4.5"; };
|
||||||
};
|
};
|
||||||
|
whitelist = [ "claude-opus-4-6-default" "claude-sonnet-4-5-20250929" "claude-haiku-4-5-20251001"];
|
||||||
};
|
};
|
||||||
ollama = {
|
ollama = {
|
||||||
npm = "@ai-sdk/openai-compatible";
|
npm = "@ai-sdk/openai-compatible";
|
||||||
|
|||||||
Reference in New Issue
Block a user