Compare commits
No commits in common. "bc0b5752b0a4856d5649f913853994277e921339" and "a3338ac65160a0b14f5c4b8916198afed957e933" have entirely different histories.
bc0b5752b0
...
a3338ac651
@ -121,8 +121,7 @@ return {
|
|||||||
-- 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",
|
|
||||||
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
|
||||||
|
@ -20,20 +20,13 @@ models:
|
|||||||
- chat
|
- chat
|
||||||
- edit
|
- edit
|
||||||
- apply
|
- apply
|
||||||
- name: stable-code:3b
|
- name: starcoder:1b
|
||||||
provider: ollama
|
provider: ollama
|
||||||
model: stable-code:3b
|
model: starcoder:1b
|
||||||
apiBase: {{ .ollamaUrl }}
|
apiBase: {{ .ollamaUrl }}
|
||||||
apiKey: {{ .ollamaKey }}
|
apiKey: {{ .ollamaKey }}
|
||||||
roles:
|
roles:
|
||||||
- autocomplete
|
- autocomplete
|
||||||
# - name: starcoder:1b
|
|
||||||
# provider: ollama
|
|
||||||
# model: starcoder:1b
|
|
||||||
# apiBase: {{ .ollamaUrl }}
|
|
||||||
# apiKey: {{ .ollamaKey }}
|
|
||||||
# roles:
|
|
||||||
# - autocomplete
|
|
||||||
# - name: qwen2.5-coder:1.5b
|
# - name: qwen2.5-coder:1.5b
|
||||||
# provider: ollama
|
# provider: ollama
|
||||||
# model: qwen2.5-coder:1.5b
|
# model: qwen2.5-coder:1.5b
|
||||||
|
@ -156,8 +156,7 @@ bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P
|
|||||||
zinit light sunlei/zsh-ssh
|
zinit light sunlei/zsh-ssh
|
||||||
|
|
||||||
# Ollama 自動補齊
|
# Ollama 自動補齊
|
||||||
zinit light ocodo/ollama_zsh_completion
|
zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
||||||
# zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
|
||||||
|
|
||||||
# overwrite ls
|
# overwrite ls
|
||||||
if command -v colorls &> /dev/null; then
|
if command -v colorls &> /dev/null; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user