Ollama : Comment the sample prompt.

This commit is contained in:
Dmitry Voronin 2024-02-29 09:14:46 +03:00
parent ab328fa858
commit 020fa448e3
2 changed files with 24 additions and 23 deletions

View file

@ -17,22 +17,6 @@
}
},
"nixpkgs": {
"locked": {
"lastModified": 1708655239,
"narHash": "sha256-ZrP/yACUvDB+zbqYJsln4iwotbH6CTZiTkANJ0AgDv4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "cbc4211f0afffe6dfd2478a62615dd5175a13f9a",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1707092692,
"narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=",
@ -208,6 +192,22 @@
"url": "https://git.voronind.com/mirror/lualine.nvim.git"
}
},
"nvimOllama": {
"flake": false,
"locked": {
"lastModified": 1703226011,
"narHash": "sha256-LOa56hd92RoGiN6gd4AUUlCLc97URmlFsUvv3HM3XeI=",
"ref": "refs/heads/main",
"rev": "d99e2462be8875602d173c117d5301862669d985",
"revCount": 37,
"type": "git",
"url": "https://git.voronind.com/mirror/ollama.nvim.git"
},
"original": {
"type": "git",
"url": "https://git.voronind.com/mirror/ollama.nvim.git"
}
},
"nvimPlenary": {
"flake": false,
"locked": {
@ -355,7 +355,7 @@
"root": {
"inputs": {
"dotfiles": "dotfiles",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs",
"nvimAlign": "nvimAlign",
"nvimAutoclose": "nvimAutoclose",
"nvimBufferline": "nvimBufferline",
@ -366,6 +366,7 @@
"nvimIndentoMatic": "nvimIndentoMatic",
"nvimLspconfig": "nvimLspconfig",
"nvimLualine": "nvimLualine",
"nvimOllama": "nvimOllama",
"nvimPlenary": "nvimPlenary",
"nvimSingleComment": "nvimSingleComment",
"nvimTelescope": "nvimTelescope",

View file

@ -3,11 +3,11 @@ require("ollama").setup {
url = "http://127.0.0.1:11434",
-- View the actual default prompts in ./lua/ollama/prompts.lua
prompts = {
Sample_Prompt = {
prompt = "This is a sample prompt that receives $input and $sel(ection), among others.",
input_label = "> ",
model = "mistral",
action = "display",
}
-- Sample_Prompt = {
-- prompt = "This is a sample prompt that receives $input and $sel(ection), among others.",
-- input_label = "> ",
-- model = "mistral",
-- action = "display",
-- }
}
}