Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8bd5ee1e4 | ||
|
|
36a80041f3 |
@@ -439,7 +439,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
exec docker run \
|
exec docker run \
|
||||||
--pull=always
|
--pull=always \
|
||||||
--name open-webui \
|
--name open-webui \
|
||||||
--network=host -e PORT={{ open_webui_port }} \
|
--network=host -e PORT={{ open_webui_port }} \
|
||||||
--add-host=host.docker.internal:host-gateway \
|
--add-host=host.docker.internal:host-gateway \
|
||||||
@@ -957,22 +957,22 @@
|
|||||||
contextLength: {{ [llm.context] | min | int }}
|
contextLength: {{ [llm.context] | min | int }}
|
||||||
maxTokens: {{ [(llm.context / 8), 16000] | min | int }}
|
maxTokens: {{ [(llm.context / 8), 16000] | min | int }}
|
||||||
|
|
||||||
- name: {{ llm.provider }}_AUTO{{ '' if llm.model in llm_models.stdout else '-MISSING'
|
|
||||||
}}
|
|
||||||
provider: ollama
|
|
||||||
model: {{ llm.model }}
|
|
||||||
defaultCompletionOptions:
|
|
||||||
contextLength: {{ [llm.context] | min | int }}
|
|
||||||
maxTokens: {{ [(llm.context / 8), 4000] | min | int }}
|
|
||||||
roles:
|
|
||||||
- autocomplete
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
when: codium_config
|
when: codium_config
|
||||||
|
|
||||||
|
#- name: {{ llm.provider }}_AUTO{{ '' if llm.model in llm_models.stdout else '-MISSING'
|
||||||
|
# }}
|
||||||
|
# provider: ollama
|
||||||
|
# model: {{ llm.model }}
|
||||||
|
# defaultCompletionOptions:
|
||||||
|
# contextLength: {{ [llm.context] | min | int }}
|
||||||
|
# maxTokens: {{ [(llm.context / 8), 4000] | min | int }}
|
||||||
|
# roles:
|
||||||
|
# - autocomplete
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | Models | qwen-code | Config
|
- name: Workstation | Linux | Software | LLMs | Models | qwen-code | Config
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "{{ item }}"
|
dest: "{{ item }}"
|
||||||
|
|||||||
Reference in new issue
Block a user