feat: config with agents rework
This commit is contained in:
31
home/features/coding/pi.nix
Normal file
31
home/features/coding/pi.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{inputs, ...}: {
|
||||
coding.agents.pi = {
|
||||
enable = true;
|
||||
agentsInput = inputs.agents;
|
||||
|
||||
modelOverrides = {
|
||||
chiron = "zai-coding-plan/glm-5.1";
|
||||
chiron-forge = "zai-coding-plan/glm-5.1";
|
||||
};
|
||||
|
||||
settings = {
|
||||
packages = [
|
||||
"npm:@thesethrose/pi-zai-provider"
|
||||
"npm:pi-mcp-adapter"
|
||||
"npm:pi-subagents"
|
||||
"npm:pi-lens"
|
||||
"npm:pi-web-access"
|
||||
"npm:pi-prompt-template-model"
|
||||
"npm:@plannotator/pi-extension"
|
||||
"npm:pi-powerline-footer"
|
||||
"npm:pi-markdown-preview"
|
||||
];
|
||||
|
||||
defaultProvider = "zai";
|
||||
defaultModel = "glm-5.1";
|
||||
defaultThinkingLevel = "medium";
|
||||
};
|
||||
|
||||
# MCP servers auto-inherited from programs.mcp in default.nix
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user