diff --git a/test/services/open-webui.nix b/test/services/open-webui.nix index 0d828ef..069ff1b 100644 --- a/test/services/open-webui.nix +++ b/test/services/open-webui.nix @@ -35,7 +35,13 @@ let inherit (config.test) subdomain domain; }; # Speeds up tests because models can't be downloaded anyway and that leads to retries. - services.open-webui.environment.OFFLINE_MODE = "true"; + services.open-webui.environment = { + OFFLINE_MODE = "true"; + BYPASS_EMBEDDING_AND_RETRIEVAL = "true"; + RAG_EMBEDDING_ENGINE = "ollama"; + RAG_EMBEDDING_MODEL = "dummy"; + RAG_OLLAMA_BASE_URL = "http://127.0.0.1:9"; + }; networking.hosts = { "127.0.0.1" = [ "${config.test.subdomain}.${config.test.domain}" ];