Add opencode models

This commit is contained in:
Martin Pander
2026-02-12 12:56:18 +01:00
parent 240c838a7b
commit 80fb31ffe1
2 changed files with 9 additions and 0 deletions

View File

@@ -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";
} }

View File

@@ -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";