Compare commits
2 Commits
681cbcb117
...
43fce477fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
43fce477fd
|
|||
|
3b5f4b8fa4
|
@@ -6,17 +6,21 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
# what model should be used in place of haiku?
|
||||
# glm 4.7-flash is an example
|
||||
haiku-model = "anthropic/claude-haiku-4-5";
|
||||
|
||||
ohMyOpencodeConfig = {
|
||||
"$schema" =
|
||||
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||
agents = {
|
||||
Sisyphus.model = "anthropic/claude-opus-4-5";
|
||||
librarian.model = "anthropic/claude-haiku-4-5";
|
||||
explore.model = "anthropic/claude-haiku-4-5";
|
||||
librarian.model = haiku-model;
|
||||
explore.model = haiku-model;
|
||||
oracle.model = "openrouter/openai/gpt-5.2";
|
||||
frontend-ui-ux-engineer.model = "openrouter/google/gemini-3-pro-preview";
|
||||
document-writer.model = "anthropic/claude-sonnet-4-5";
|
||||
multimodal-looker.model = "anthropic/claude-haiku-4-5";
|
||||
multimodal-looker.model = haiku-model;
|
||||
};
|
||||
};
|
||||
in
|
||||
@@ -24,7 +28,7 @@ in
|
||||
xdg.configFile."opencode/oh-my-opencode.json".text = builtins.toJSON ohMyOpencodeConfig;
|
||||
|
||||
programs.opencode = {
|
||||
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||
package = inputs.llm-agents.packages.${pkgs.stdenv.targetPlatform.system}.opencode;
|
||||
enable = true;
|
||||
rules = ''
|
||||
You are an intelligent and observant agent.
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
networking.firewall.allowedTCPPorts = [ 53317 ];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
nixpkgs.targetPlatform = "x86_64-linux";
|
||||
|
||||
documentation.enable = true;
|
||||
documentation.man.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user