Add API status example to AGENTS.md
This commit is contained in:
1 parent
ede2ee6b6f
commit
f28269f71c
1 file changed
+5
@@ -67,3 +67,8 @@ PY
|
||||
- Give enough time for the bot and world to load.
|
||||
- Always include the `finally` cleanup.
|
||||
- When printing during live checks, include `time.monotonic()` to better understand the timing of events.
|
||||
- You can use the web API to monitor a live bot, for example:
|
||||
|
||||
```
|
||||
$ for i in $(seq 1 8); do curl -fsS --max-time 2 http://127.0.0.1:3301/api/global | jq -c '{movement_status,pos,path,breaking,job_state}'; sleep 1; done (timeout 15s)
|
||||
```
|
||||
Reference in new issue
Block a user