mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
* fix: enhance Bayer MGA provider reliability and Docker integration * Merge latest dev branch changes into Bayer MGA feature branch * Improve Bayer MGA provider model filtering and error handling * Add robust model validation with fallback mechanisms * Enhance logging and debugging capabilities for model selection * Add Bayer MGA environment variables to Docker configurations * Update worker configuration with Bayer MGA API keys * Add comprehensive Bayer MGA setup to .env.example * Create standalone test script for Bayer MGA provider debugging * Fix intermittent model selection issues beyond Claude 3.7 Sonnet * Ensure provider switching works without breaking other providers * Bayer MGA provider multimodel support and test coverage. * Add Claude.md.
33 lines
906 B
Bash
Executable File
33 lines
906 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🧪 Bayer MGA Provider Test Suite"
|
|
echo "================================="
|
|
|
|
# Check if .env.local exists
|
|
if [ ! -f ".env.local" ]; then
|
|
echo "❌ Error: .env.local file not found"
|
|
echo "Please create .env.local with BAYER_MGA_API_KEY and OPEN_ROUTER_API_KEY"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if Docker container is running
|
|
if ! docker ps | grep -q "buildify-app-prod-1"; then
|
|
echo "⚠️ Docker container not running. Starting..."
|
|
docker-compose up -d app-prod
|
|
sleep 10
|
|
fi
|
|
|
|
echo "🔄 Running automated provider tests..."
|
|
node tests/test-all-providers.cjs
|
|
|
|
echo ""
|
|
echo "🔄 Running Docker integration tests..."
|
|
./tests/test-docker-providers.sh
|
|
|
|
echo ""
|
|
echo "✅ Automated tests complete!"
|
|
echo ""
|
|
echo "📖 For manual UI testing with authentication:"
|
|
echo " node tests/test-manual-login-providers.cjs"
|
|
echo ""
|
|
echo "📚 See tests/README.md for detailed documentation" |