mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Change OLLAMA_API_BASE_URL to use v1 API
This commit is contained in:
parent
3574a6a8a8
commit
48520ade33
@ -20,6 +20,7 @@
|
|||||||
SAFE_MODE = "True";
|
SAFE_MODE = "True";
|
||||||
BYPASS_MODEL_ACCESS_CONTROL = "True";
|
BYPASS_MODEL_ACCESS_CONTROL = "True";
|
||||||
ENABLE_COMPRESSION_MIDDLEWARE = "False"; # Not needed since I access it via localhost
|
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 = ''
|
DEFAULT_RAG_TEMPLATE = ''
|
||||||
### Task:
|
### Task:
|
||||||
|
|||||||
@ -13,7 +13,7 @@ let
|
|||||||
peach = "rgb(fab387)";
|
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:
|
mkVideoWallpaper = id: hash:
|
||||||
"${(pkgs.stdenv.mkDerivation {
|
"${(pkgs.stdenv.mkDerivation {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user