Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8bd5ee1e4 | ||
|
|
36a80041f3 |
@@ -439,7 +439,7 @@
|
||||
|
||||
set -e
|
||||
exec docker run \
|
||||
--pull=always
|
||||
--pull=always \
|
||||
--name open-webui \
|
||||
--network=host -e PORT={{ open_webui_port }} \
|
||||
--add-host=host.docker.internal:host-gateway \
|
||||
@@ -957,22 +957,22 @@
|
||||
contextLength: {{ [llm.context] | 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 %}
|
||||
{% endfor %}
|
||||
mode: "0644"
|
||||
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
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ item }}"
|
||||
|
||||
Reference in new issue
Block a user