things
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
};
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
rust-analyzer
|
||||
typescript-language-server
|
||||
@@ -48,9 +49,17 @@
|
||||
'';
|
||||
settings = {
|
||||
"lsp" = true;
|
||||
plugin = [
|
||||
"@tarquinen/opencode-dcp@latest"
|
||||
"@xberg-io/opencode-xberg"
|
||||
"@xberg-io/opencode-crawlberg"
|
||||
"@xberg-io/opencode-html-to-markdown"
|
||||
"@xberg-io/opencode-liter-llm"
|
||||
"@xberg-io/opencode-tree-sitter-language-pack"
|
||||
];
|
||||
provider.litellm = {
|
||||
npm = "@ai-sdk/openai-compatible";
|
||||
name = "LiteLLM";
|
||||
name = "LiteLLM (scuggo)";
|
||||
options = {
|
||||
baseURL = "https://9f5db439.fwds.scug.io/v1";
|
||||
apiKey = "{env:SCUG_IO_API_KEY}";
|
||||
@@ -66,8 +75,8 @@
|
||||
output = 16384;
|
||||
};
|
||||
cost = {
|
||||
input = 0.0000002;
|
||||
output = 0.0000006;
|
||||
input = 0.00002;
|
||||
output = 0.00006;
|
||||
};
|
||||
provider = {
|
||||
api = "openai";
|
||||
|
||||
Reference in New Issue
Block a user