Change OLLAMA_API_BASE_URL to use v1 API

This commit is contained in:
Username404-59 2026-07-03 01:44:54 +02:00
parent 3574a6a8a8
commit 48520ade33
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
SAFE_MODE = "True";
BYPASS_MODEL_ACCESS_CONTROL = "True";
ENABLE_COMPRESSION_MIDDLEWARE = "False"; # Not needed since I access it via localhost
OLLAMA_API_BASE_URL = "http://127.0.0.1:${toString config.services.ollama.port}/v1"; # Fixes qwen 3.6 as of writing; TODO Remove if not needed anymore
DEFAULT_RAG_TEMPLATE = ''
### Task:

View File

@ -13,7 +13,7 @@ let
peach = "rgb(fab387)";
};
find_monitor = id: "$(hyprctl monitors -j | jq -r '.[] | select(.id==${builtins.toString id}) | .name')";
find_monitor = id: "$(hyprctl monitors -j | jq -r '.[] | select(.id==${toString id}) | .name')";
mkVideoWallpaper = id: hash:
"${(pkgs.stdenv.mkDerivation {