Files
brunoandQwen-Coder 439ad8a854 feat: Upgrade to real-world dynamic stock recommendation system with Claude + Qwen3 AI collaboration
- Implement dynamic stock universe with 3-stage filtering (liquidity, fundamentals, technicals)
- Create Claude + Qwen3 AI collaboration service for intelligent stock analysis
- Update recommendation routes to use live market data instead of hard-coded lists
- Add new documentation and deployment scripts
- Update Docker configuration for AI model integration

BREAKING CHANGE: Replaces hard-coded stock recommendations with dynamic market-based filtering

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-11-16 12:43:03 +08:00

49 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# 快速修复安装问题脚本
set -e
echo "🧹 Cleaning up old environment..."
rm -rf backend/.venv
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
echo ""
echo "🔍 Checking Python version..."
if command -v python3.12 >/dev/null 2>&1; then
PYTHON_VERSION=$(python3.12 --version)
echo "✓ Found: $PYTHON_VERSION"
else
echo "❌ Python 3.12 not found"
echo ""
echo "Install with:"
echo " brew install python@3.12"
exit 1
fi
echo ""
echo "🔧 Checking build tools..."
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
if ! command -v cmake >/dev/null 2>&1; then
echo "⚠️ cmake not found, installing..."
brew install cmake
else
echo "✓ cmake installed"
fi
if ! brew list libomp &>/dev/null; then
echo "⚠️ libomp not found, installing..."
brew install libomp
else
echo "✓ libomp installed"
fi
fi
echo ""
echo "🚀 Restarting with clean environment..."
echo ""
./start_app.sh