Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Watch call dev step

Clémence Lesnéd5a99134befa
diff --git a/Makefile b/Makefile
index 437e6ac..50982e2 100644
--- a/Makefile
+++ b/Makefile
@@ -202,7 +202,7 @@ watch-call:
@echo "👀 Watching status of $(phone_number)..."
while true; do \
clear; \
- curl -s "$(endpoint)/call?phone_number=%2B$(phone_number)" | yq --prettyPrint '.[0] | {"phone_number": .phone_number, "claim": .claim, "reminders": .reminders}'; \
+ curl -s "$(endpoint)/call?phone_number=%2B$(phone_number)" | yq --prettyPrint '.[0] | {"phone_number": .initiate.phone_number, "claim": .claim, "reminders": .reminders}'; \
sleep 3; \
done