From 1010551bb14af5bd6efc433ca6e9ed6bb242d95a Mon Sep 17 00:00:00 2001 From: Luca Beurer-Kellner Date: Tue, 29 Aug 2023 17:28:13 +0200 Subject: [PATCH] ci: do not assume lmql command --- src/lmql/tests/test_lmtp_langchain_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmql/tests/test_lmtp_langchain_integration.py b/src/lmql/tests/test_lmtp_langchain_integration.py index 1e364843..1feb73e9 100644 --- a/src/lmql/tests/test_lmtp_langchain_integration.py +++ b/src/lmql/tests/test_lmtp_langchain_integration.py @@ -20,7 +20,7 @@ def instantiate_test_llm(): @pytest.fixture(scope="module", autouse=True) def run_lmql_serve_model(): import subprocess - p = subprocess.Popen(["lmql", "serve-model", "random", "--host", "127.0.0.1", "--port", "5000", "--seed", "123"]) + p = subprocess.Popen(["python", "-m", "lmql.cli", "serve-model", "random", "--host", "127.0.0.1", "--port", "5000", "--seed", "123"]) yield p # teardown to stop lmql serve-model