Compare commits
No commits in common. "0e03e0a861885431609199a5a93fe2f032370cef" and "d11be192f2d994c326689574e8c16f56228b6389" have entirely different histories.
0e03e0a861
...
d11be192f2
@ -117,32 +117,32 @@ return {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- {
|
{
|
||||||
-- -- 自動補全用
|
-- 自動補全用
|
||||||
-- 'huggingface/llm.nvim',
|
'huggingface/llm.nvim',
|
||||||
-- dependencies = { 'kevinhwang91/nvim-ufo' }, -- 確保 ufo 先載入
|
dependencies = { 'kevinhwang91/nvim-ufo' }, -- 確保 ufo 先載入
|
||||||
-- event = 'VeryLazy', -- 啟動後自動載入
|
event = 'VeryLazy', -- 啟動後自動載入
|
||||||
-- opts = {
|
opts = {
|
||||||
-- backend = "openai",
|
backend = "openai",
|
||||||
-- -- chat_mode = true,
|
-- chat_mode = true,
|
||||||
-- -- model = "qwen2.5-coder:1.5b", -- 實測發現不相容,先關掉
|
-- model = "qwen2.5-coder:1.5b", -- 實測發現不相容,先關掉
|
||||||
-- -- model = "codellama:7b",
|
-- model = "codellama:7b",
|
||||||
-- -- model = "starcoder2:3b",
|
-- model = "starcoder2:3b",
|
||||||
-- -- model = "starcoder:1b",
|
-- model = "starcoder:1b",
|
||||||
-- model = "stable-code:3b",
|
model = "stable-code:3b",
|
||||||
-- url = {{ .ollamaUrl | quote }}, -- llm-ls uses "/api/generate"
|
url = {{ .ollamaUrl | quote }}, -- llm-ls uses "/api/generate"
|
||||||
-- {{ if .ollamaKey }}api_token = {{ .ollamaKey | quote }},{{ end }}
|
{{ if .ollamaKey }}api_token = {{ .ollamaKey | quote }},{{ end }}
|
||||||
-- -- -- cf https://github.com/ollama/ollama/blob/main/docs/api.md#parametersu can set any field:value pair here it will be passed as is to the backend
|
-- -- cf https://github.com/ollama/ollama/blob/main/docs/api.md#parametersu can set any field:value pair here it will be passed as is to the backend
|
||||||
-- request_body = {
|
request_body = {
|
||||||
-- -- Modelfile options for the model you use
|
-- Modelfile options for the model you use
|
||||||
-- options = {
|
options = {
|
||||||
-- temperature = 0.2,
|
temperature = 0.2,
|
||||||
-- top_p = 0.95,
|
top_p = 0.95,
|
||||||
-- }
|
}
|
||||||
-- },
|
},
|
||||||
-- -- on_response = function(output)
|
-- on_response = function(output)
|
||||||
-- -- return output:gsub("^```[%w]*\n?", ""):gsub("```$", "")
|
-- return output:gsub("^```[%w]*\n?", ""):gsub("```$", "")
|
||||||
-- -- end,
|
-- end,
|
||||||
-- },
|
},
|
||||||
-- },
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
{'akinsho/git-conflict.nvim', version = "*", config = true},
|
{'akinsho/git-conflict.nvim', version = "*", config = true},
|
||||||
{'sindrets/diffview.nvim'},
|
{'sindrets/diffview.nvim'},
|
||||||
{
|
|
||||||
"NeogitOrg/neogit",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim", -- required
|
|
||||||
"sindrets/diffview.nvim", -- optional - Diff integration
|
|
||||||
|
|
||||||
-- Only one of these is needed.
|
|
||||||
"nvim-telescope/telescope.nvim", -- optional
|
|
||||||
-- "ibhagwan/fzf-lua", -- optional
|
|
||||||
-- "echasnovski/mini.pick", -- optional
|
|
||||||
-- "folke/snacks.nvim", -- optional
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"kdheepak/lazygit.nvim",
|
"kdheepak/lazygit.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if true then return {} end
|
-- if true then return {} end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user