ripgrep
This commit is contained in:
+19
-1
@@ -16,10 +16,28 @@ let
|
|||||||
};
|
};
|
||||||
cfg = {
|
cfg = {
|
||||||
"$schema" = "https://opencode.ai/config.json";
|
"$schema" = "https://opencode.ai/config.json";
|
||||||
enabled_providers = [ "llama.cpp" ];
|
enabled_providers = [ "llama.cpp" "zai-coding-plan" ];
|
||||||
model = "llama.cpp/laguna-s-2.1";
|
model = "llama.cpp/laguna-s-2.1";
|
||||||
small_model = "llama.cpp/ornith-1.5-9b-uncensored";
|
small_model = "llama.cpp/ornith-1.5-9b-uncensored";
|
||||||
provider = {
|
provider = {
|
||||||
|
"zai-coding-plan" = {
|
||||||
|
npm = "@ai-sdk/openai-compatible";
|
||||||
|
name = "Z.AI Coding Plan";
|
||||||
|
options = {
|
||||||
|
baseURL = "https://api.z.ai/api/coding/paas/v4";
|
||||||
|
apiKey = "{env:ZAI_API_KEY}";
|
||||||
|
};
|
||||||
|
models = {
|
||||||
|
"glm-5.3" = {
|
||||||
|
name = "GLM-5.3";
|
||||||
|
limit = { context = 1000000; output = 131072; };
|
||||||
|
};
|
||||||
|
"glm-5.3-flash" = {
|
||||||
|
name = "GLM-5.3-Flash";
|
||||||
|
limit = { context = 1000000; output = 131072; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
"llama.cpp" = {
|
"llama.cpp" = {
|
||||||
npm = "@ai-sdk/openai-compatible";
|
npm = "@ai-sdk/openai-compatible";
|
||||||
name = "llama.cpp (straylight)";
|
name = "llama.cpp (straylight)";
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
(builtins.removeAttrs python312 [ "doc" ])
|
(builtins.removeAttrs python312 [ "doc" ])
|
||||||
python314
|
python314
|
||||||
python314Packages.pip
|
python314Packages.pip
|
||||||
|
ripgrep
|
||||||
rlwrap
|
rlwrap
|
||||||
sbcl
|
sbcl
|
||||||
scdoc
|
scdoc
|
||||||
|
|||||||
Generated
+22
-1
@@ -391,7 +391,8 @@
|
|||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"sgard": "sgard"
|
"sgard": "sgard",
|
||||||
|
"tracker": "tracker"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -465,6 +466,26 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"tracker": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1789792730,
|
||||||
|
"narHash": "sha256-uoKzQcBc+6vmV6qNMgdsfaWUwt2rcgQtatZFi4oS32A=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "955de9d2f10a68b6609c7118817e899eaec466db",
|
||||||
|
"revCount": 5,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.wntrmute.dev/kyle/tracker"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.wntrmute.dev/kyle/tracker"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
Reference in New Issue
Block a user