live_tests.sh 516 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. cd "$(dirname "$0")"
  4. if [ -f .env ]; then
  5. # shellcheck disable=SC1091
  6. source .env
  7. fi
  8. if [ -f .venv/bin/activate ]; then
  9. # shellcheck disable=SC1091
  10. source .venv/bin/activate
  11. fi
  12. CONF="${MCPORTER_CONF:-$HOME/.openclaw/workspace/config/mcporter.json}"
  13. mcporter --config "$CONF" call trends.resolve_entity keyword=bitcoin
  14. mcporter --config "$CONF" call trends.get_related_queries keyword=bitcoin
  15. mcporter --config "$CONF" call trends.get_related_topics keyword=bitcoin