selfhostblocks/test
Dmitry 24fdbb81df Fix Open WebUI tests in offline mode
Open WebUI 0.9.6 still initializes its embedding function during startup, even when OFFLINE_MODE=true and BYPASS_EMBEDDING_AND_RETRIEVAL=true. With OFFLINE_MODE=true and no cached SentenceTransformer model, startup failed with:

ValueError: No embedding model is loaded. Set RAG_EMBEDDING_MODEL to a valid SentenceTransformer model name, or configure an external RAG_EMBEDDING_ENGINE (ollama, openai, azure_openai).

Configure the tests to use a dummy Ollama embedding endpoint so startup does not try to load or download a local embedding model. The endpoint is not meant to be contacted by these tests; it only keeps startup on the external embedding configuration path.
2026-06-17 12:50:57 +02:00
..
blocks grafana: fix tests to use API for checking user login (#725) 2026-06-07 13:11:26 +02:00
contracts datasetBackup: add contract with sanoid implementation 2026-04-27 06:38:52 +02:00
modules homepage: init with dashboard contract 2026-02-24 20:00:36 +01:00
services Fix Open WebUI tests in offline mode 2026-06-17 12:50:57 +02:00
common.nix tests: use correct casing in tests 2026-06-04 00:47:53 +02:00