forked from pardnchiu/Agenvoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
56 lines (40 loc) · 1.21 KB
/
makefile
File metadata and controls
56 lines (40 loc) · 1.21 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
ifneq ($(filter cli run,$(MAKECMDGOALS)),)
cli:
@go run ./cmd/cli/ run $(filter-out $@,$(MAKECMDGOALS))
run:
@go run ./cmd/cli/ run-allow $(filter-out $@,$(MAKECMDGOALS))
%:
@:
else
.PHONY: help app discord add remove planner reasoning models skills test
help:
@echo "How to use:"
@echo " make app Start unified app (TUI + Discord + REST API)"
@echo " make discord Start Discord bot server (legacy)"
@echo " make add Add a provider/model"
@echo " make remove Remove a provider/model"
@echo " make planner Set planner model"
@echo " make reasoning Set reasoning level"
@echo " make models Get model list"
@echo " make skills Get skill list"
@echo " make cli <input...> Run agent (requires tool confirmation)"
@echo " make run <input...> Run agent (allow all tools)"
app:
go run ./cmd/app/main.go
discord:
go run ./cmd/server/main.go
add:
go run ./cmd/cli/ add
remove:
go run ./cmd/cli/ remove
planner:
go run ./cmd/cli/ planner
reasoning:
go run ./cmd/cli/ reasoning
models:
go run ./cmd/cli/ list
skills:
go run ./cmd/cli/ list skills
test:
go test ./test/... -v -timeout 60s
endif