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": { "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": { "locked": {
"lastModified": 1707092692, "lastModified": 1707092692,
"narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=", "narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=",
@ -208,6 +192,22 @@
"url": "https://git.voronind.com/mirror/lualine.nvim.git" "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": { "nvimPlenary": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -355,7 +355,7 @@
"root": { "root": {
"inputs": { "inputs": {
"dotfiles": "dotfiles", "dotfiles": "dotfiles",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs",
"nvimAlign": "nvimAlign", "nvimAlign": "nvimAlign",
"nvimAutoclose": "nvimAutoclose", "nvimAutoclose": "nvimAutoclose",
"nvimBufferline": "nvimBufferline", "nvimBufferline": "nvimBufferline",
@ -366,6 +366,7 @@
"nvimIndentoMatic": "nvimIndentoMatic", "nvimIndentoMatic": "nvimIndentoMatic",
"nvimLspconfig": "nvimLspconfig", "nvimLspconfig": "nvimLspconfig",
"nvimLualine": "nvimLualine", "nvimLualine": "nvimLualine",
"nvimOllama": "nvimOllama",
"nvimPlenary": "nvimPlenary", "nvimPlenary": "nvimPlenary",
"nvimSingleComment": "nvimSingleComment", "nvimSingleComment": "nvimSingleComment",
"nvimTelescope": "nvimTelescope", "nvimTelescope": "nvimTelescope",

View file

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