-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 836 Bytes
/
Makefile
File metadata and controls
36 lines (25 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.PHONY: run test screenshot test-llm test-calendar test-things debug-render
uv = /opt/homebrew/bin/uv
run:
$(uv) run -m macllm --debug
run-debug:
$(uv) run -m macllm --debug --debuglitellm
QUERY ?= What is the URL of Google
test-llm:
QUERY="$(QUERY)" $(uv) run python -m pytest -v -s test/manual_tests/llm_check.py
test:
$(uv) run python -m pytest -rx -v
test-external:
$(uv) run python -m pytest -v -m external
test-calendar:
$(uv) run python -m pytest -v -m calendar
test-things:
$(uv) run python -m pytest -v -m things
screenshot:
$(uv) run -m macllm --show-window &
sleep 3
$(uv) run -m macllm.utils.screenshot --output ./macllm_test_screenshot.png
pkill -f "macllm --show-window" || true
debug-render:
rm -f ./debug_screenshot.png
$(uv) run -m macllm --query "$(QUERY)" --screenshot ./debug_screenshot.png