- Add test-agent-direct.sh for direct agent testing - Add test-full-pipeline.sh for full pipeline testing - Add test-tts-direct.sh for TTS testing - Update vite config for new build targets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
548 B
Bash
Executable file
20 lines
548 B
Bash
Executable file
#!/bin/bash
|
|
# Layer 2: Direct Quinn Agent test
|
|
set -e
|
|
AGENT="http://localhost:41226"
|
|
QUERY="${1:-Say hello in one short sentence.}"
|
|
|
|
echo "=== Layer 2: Quinn Agent Test ==="
|
|
echo "Query: $QUERY"
|
|
|
|
# Health check
|
|
curl -sf "$AGENT/health" | jq -r '"Agent: \(.agentName), status: \(.status)"'
|
|
|
|
# Consult (non-streaming)
|
|
RESP=$(curl -sf -X POST "$AGENT/consult" \
|
|
-H "Content-Type: application/json" \
|
|
-d "{\"query\": \"$QUERY\", \"stream\": false}")
|
|
|
|
echo "Response:"
|
|
echo "$RESP" | jq -r '.content // .response // .'
|
|
echo "=== Layer 2 PASSED ==="
|