Improve query intent handling and preview playback
build-push / docker (push) Successful in 4m52s

This commit is contained in:
AI Assistant
2026-03-16 09:55:14 +09:00
parent 6d9391bc2b
commit 9637b761bd
7 changed files with 142 additions and 12 deletions
+9 -4
View File
@@ -70,10 +70,15 @@ if payload.get("status") != "ok":
PY
echo "[selftest] verify search"
curl -fsS \
-H "Content-Type: application/json" \
-d '{"query":"city rain","platforms":["envato","artgrid","google video"]}' \
"http://127.0.0.1:${APP_PORT}/api/search" >"${TMP_DIR}/search.json"
for _ in $(seq 1 5); do
if curl -fsS \
-H "Content-Type: application/json" \
-d '{"query":"city rain","platforms":["envato","artgrid","google video"]}' \
"http://127.0.0.1:${APP_PORT}/api/search" >"${TMP_DIR}/search.json"; then
break
fi
sleep 1
done
python3 - "${TMP_DIR}/search.json" <<'PY'
import json
import sys