Compare commits
2 Commits
a3338ac651
...
bc0b5752b0
Author | SHA1 | Date | |
---|---|---|---|
bc0b5752b0 | |||
b64c32147a |
@ -121,7 +121,8 @@ return {
|
||||
-- model = "qwen2.5-coder:1.5b", -- 實測發現不相容,先關掉
|
||||
-- model = "codellama:7b",
|
||||
-- model = "starcoder2:3b",
|
||||
model = "starcoder:1b",
|
||||
-- model = "starcoder:1b",
|
||||
model = "stable-code:3b",
|
||||
url = {{ .ollamaUrl | quote }}, -- llm-ls uses "/api/generate"
|
||||
{{ 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
|
||||
|
@ -20,13 +20,20 @@ models:
|
||||
- chat
|
||||
- edit
|
||||
- apply
|
||||
- name: starcoder:1b
|
||||
- name: stable-code:3b
|
||||
provider: ollama
|
||||
model: starcoder:1b
|
||||
model: stable-code:3b
|
||||
apiBase: {{ .ollamaUrl }}
|
||||
apiKey: {{ .ollamaKey }}
|
||||
roles:
|
||||
- autocomplete
|
||||
# - name: starcoder:1b
|
||||
# provider: ollama
|
||||
# model: starcoder:1b
|
||||
# apiBase: {{ .ollamaUrl }}
|
||||
# apiKey: {{ .ollamaKey }}
|
||||
# roles:
|
||||
# - autocomplete
|
||||
# - name: qwen2.5-coder:1.5b
|
||||
# provider: ollama
|
||||
# model: qwen2.5-coder:1.5b
|
||||
|
@ -156,7 +156,8 @@ bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P
|
||||
zinit light sunlei/zsh-ssh
|
||||
|
||||
# Ollama 自動補齊
|
||||
zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
||||
zinit light ocodo/ollama_zsh_completion
|
||||
# zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
||||
|
||||
# overwrite ls
|
||||
if command -v colorls &> /dev/null; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user