Files
openclaw-master-skills/skills/web-search-plus/test-auto-routing.sh
T
MyClaw AI 3e83cee039 feat: expand to 339+ curated skills (v0.3.0)
- Added 175 new high-quality skills across all categories
- 14 distinct categories: AI, Search, Productivity, Dev, Marketing, Media, Finance, Communication, Smart Home, Memory, Security, Data, Social, Other
- Updated all language READMEs and SKILL.md
- Weekly update by MyClaw.ai
2026-03-11 11:54:00 +00:00

21 lines
555 B
Bash

#!/bin/bash
# Test Auto-Routing Feature
# Tests various query types to verify routing works correctly
# Load from environment or .env file
if [ -f .env ]; then
source .env
fi
# Check required keys
if [ -z "$SERPER_API_KEY" ]; then
echo "Error: SERPER_API_KEY not set. Copy .env.example to .env and add your keys."
exit 1
fi
echo "Testing auto-routing..."
python3 scripts/search.py -q "buy iPhone 15 price" --auto
python3 scripts/search.py -q "how does quantum computing work" --auto
python3 scripts/search.py -q "companies like Stripe" --auto