Skip to content

Commit 9f239d5

Browse files
committed
fix(settings): Added several environment variables as optional variables
1 parent cbbe832 commit 9f239d5

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Please enter the subfolder [ollama](ollama/) for further details on the [CHANGEL
2222
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
2323
[forum]: https://community.home-assistant.io/?u=SirUli
2424
[license-shield]: https://img.shields.io/github/license/SirUli/homeassistant-ollama-addon.svg
25-
[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg
25+
[maintenance-shield]: https://img.shields.io/maintenance/yes/2026.svg
2626
[last-commit-shield]: https://img.shields.io/github/last-commit/SirUli/homeassistant-ollama-addon.svg
2727
[stars-shield]: https://img.shields.io/github/stars/SirUli/homeassistant-ollama-addon.svg?style=social&label=Stars
2828
[forks-shield]: https://img.shields.io/github/forks/SirUli/homeassistant-ollama-addon.svg?style=social&label=Forks

ollama/config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,23 @@ options:
3131
OLLAMA_ORIGINS: ""
3232
gpus: all
3333
schema:
34+
OLLAMA_CONTEXT_LENGTH: int?
3435
OLLAMA_FLASH_ATTENTION: int
3536
OLLAMA_MODELS: list(/config/ollama|/share/ollama|/data/ollama)
3637
OLLAMA_KEEP_ALIVE: int
3738
OLLAMA_KV_CACHE_TYPE: list(f16|q8_0|q4_0)
3839
OLLAMA_MAX_LOADED_MODELS: int
3940
OLLAMA_NUM_PARALLEL: int
41+
OLLAMA_VULKAN: bool?
42+
OLLAMA_NOPRUNE: bool?
43+
OLLAMA_MAX_QUEUE: int?
44+
OLLAMA_SCHED_SPREAD: bool?
45+
OLLAMA_NO_LOG_STATS: bool?
46+
OLLAMA_NO_HISTORY: bool?
47+
OLLAMA_NO_CLOUD: bool?
48+
OLLAMA_CONTEXT_LENGTH: int?
4049
OLLAMA_ORIGINS: str
50+
HTTPS_PROXY: str?
4151
gpus: str
4252
backup_exclude:
4353
- "ollama/**"

ollama/translations/en.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ configuration:
2020
OLLAMA_ORIGINS:
2121
name: OLLAMA_ORIGINS
2222
description: The allowed origins for the API, set to "*" to allow all. Clear to set to the default locations
23+
OLLAMA_VULKAN:
24+
name: OLLAMA_VULKAN
25+
description: Additional GPU Support. Read [the docs](https://docs.ollama.com/gpu#vulkan-gpu-support) for more information.

0 commit comments

Comments
 (0)