aboutsummaryrefslogtreecommitdiff
path: root/tests/check_openai_sdk_compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_openai_sdk_compat.py')
-rw-r--r--tests/check_openai_sdk_compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_openai_sdk_compat.py b/tests/check_openai_sdk_compat.py
index 5ba582e..74474b6 100644
--- a/tests/check_openai_sdk_compat.py
+++ b/tests/check_openai_sdk_compat.py
@@ -37,7 +37,7 @@ except ImportError as e:
ROOT = Path(__file__).resolve().parents[1]
HOST = "127.0.0.1"
-SERVER_BIN = ROOT / "tools/server/ffwd-server"
+SERVER_BIN = ROOT / "ffwd-server"
DOCS = [
("Capitals", "Paris is the capital of France."),
@@ -50,7 +50,7 @@ QUERY = "What is the capital of France?"
def ensure_server() -> None:
if not SERVER_BIN.exists():
- subprocess.run(["make", "-C", "tools/server", "all"], cwd=ROOT, check=True,
+ subprocess.run(["make", "cpu"], cwd=ROOT, check=True,
stdout=subprocess.DEVNULL)
if not SERVER_BIN.exists():
sys.exit(f"ffwd-server not found and could not be built: {SERVER_BIN}")