Skip to content

Commit

Permalink
ci: do not assume lmql command
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Aug 29, 2023
1 parent aeea68b commit 1010551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmql/tests/test_lmtp_langchain_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1010551

Please sign in to comment.