aboutsummaryrefslogtreecommitdiffstats
path: root/useragents/makefile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2025-05-09 14:53:09 +0000
committerterminaldweller <devi@terminaldweller.com>2025-05-09 14:53:09 +0000
commitcf5499db368a1cb52ab734d204f08bbcc114a890 (patch)
tree03e4c28a170a5c2318093e6a417fde9830ab5061 /useragents/makefile
parentnow using the options for the google models again (diff)
downloadmilla-main.tar.gz
milla-main.zip
addes user agents. added aliases.HEADmain
Diffstat (limited to 'useragents/makefile')
-rw-r--r--useragents/makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/useragents/makefile b/useragents/makefile
new file mode 100644
index 0000000..21f6ad9
--- /dev/null
+++ b/useragents/makefile
@@ -0,0 +1,32 @@
+.PHONY: d_test d_down d_build help up down test log
+
+IMAGE_NAME=useragents
+
+up: d_test
+
+down: d_down
+
+log:
+ nqtail
+
+test:
+ @curl -k -X POST -H 'Content-Type: application/json' --data '{"agent_name": "web_search_tool", "instructions":"you are a web search bot", "query": "make me a cryptocurrency news digest from the news for today please. give me the references for the news you mention."}' https://127.0.0.1:9910/api/v1/agent
+
+d_test:
+ nq docker compose -f ./docker-compose-uas.yaml up --build
+
+d_down:
+ docker compose -f ./docker-compose-uas.yaml down
+
+d_build: d_build_regular
+
+d_build_regular:
+ docker build -t $(IMAGE_NAME)-f ./Dockerfile .
+
+help:
+ @echo "up"
+ @echo "down"
+ @echo "test"
+ @echo "d_test"
+ @echo "d_down"
+ @echo "d_build"