ollama stuff
This commit is contained in:
@@ -63,8 +63,27 @@
|
||||
"latex"
|
||||
"terraform"
|
||||
"log"
|
||||
"context7-mcp-server"
|
||||
"github-mcp-server"
|
||||
];
|
||||
userSettings = {
|
||||
context_servers = {
|
||||
nixos = {
|
||||
command = "nix";
|
||||
args = [
|
||||
"run"
|
||||
"github:utensils/mcp-nixos"
|
||||
"--"
|
||||
];
|
||||
};
|
||||
};
|
||||
language_models = {
|
||||
ollama = {
|
||||
api_url = "http://192.168.76.2:11434";
|
||||
context_window = 128000;
|
||||
keep_alive = "15m";
|
||||
};
|
||||
};
|
||||
colorize_brackets = true;
|
||||
hard_tabs = false;
|
||||
vim_mode = true;
|
||||
@@ -77,7 +96,7 @@
|
||||
agent = {
|
||||
default_model = {
|
||||
provider = "ollama";
|
||||
model = "qwen2.5-coder:latest";
|
||||
model = "lfm2:24b";
|
||||
};
|
||||
favorite_models = [ ];
|
||||
model_parameters = [ ];
|
||||
@@ -89,13 +108,16 @@
|
||||
journal = {
|
||||
hour_format = "hour24";
|
||||
};
|
||||
edit_preditions = {
|
||||
provider = "open_ai_compatible_api";
|
||||
open_ai_compatible_api = {
|
||||
api_url = "http://localhost:11434/v1/completions";
|
||||
model = "zeta:latest";
|
||||
prompt_format = "infer";
|
||||
edit_predictions = {
|
||||
provider = "ollama";
|
||||
ollama = {
|
||||
#api_url = "http://192.168.76.2:11434/v1/completions";
|
||||
api_url = "http://192.168.76.2:11434";
|
||||
context_window = 128000;
|
||||
model = "lennyerik/zeta";
|
||||
prompt_format = "qwen";
|
||||
max_requests = 64;
|
||||
max_output_tokens = 256;
|
||||
};
|
||||
};
|
||||
texlab = {
|
||||
@@ -144,6 +166,8 @@
|
||||
# markdown
|
||||
nodePackages.markdownlint-cli
|
||||
|
||||
# insert essential rust dependencies
|
||||
|
||||
# doom emacs dependencies
|
||||
yaml-language-server
|
||||
nodePackages.typescript-language-server
|
||||
@@ -163,7 +187,7 @@
|
||||
languagetool
|
||||
|
||||
# latex
|
||||
texlive.combined.scheme-medium
|
||||
texlive.combined.scheme-full
|
||||
|
||||
# dependencies for nix-dotfiles/hydra-check-action
|
||||
nodejs_20
|
||||
@@ -184,5 +208,6 @@
|
||||
|
||||
# arch zed deps
|
||||
nixd
|
||||
uv
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user