Fixed missing route registration that prevented the /api/collab/* endpoints from being available. The claude_deepseek_collab module was imported and implemented but not registered in the FastAPI app, causing 404 errors on all endpoints including health check, recommend, and batch-recommend. Changes: - Updated backend/app/routes/__init__.py to export claude_deepseek_collab module - Updated backend/main.py to import and register the claude_deepseek_collab router - All endpoints now properly accessible and working with real Alpha Vantage data Verified endpoints: ✅ /api/collab/health - System health check ✅ /api/collab/recommend - Single stock/forex analysis with Claude + DeepSeek ✅ /api/collab/batch-recommend - Batch analysis for multiple assets ✅ /api/collab/analyze/{symbol} - Technical signal analysis only Real data sources verified: ✅ AAPL: $275.25 (Alpha Vantage) ✅ EURUSD=X: 1.16 (ExchangeRate API) 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(mkdir:*)",
|
|
"Bash(tree:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(docker:*)",
|
|
"Bash(docker-compose:*)",
|
|
"Bash(pip install:*)",
|
|
"Bash(python3:*)",
|
|
"Bash(find:*)",
|
|
"Bash(lsof:*)",
|
|
"Bash(xargs -r kill -9 lsof -i :5432)",
|
|
"Bash(xargs -r kill -9 lsof -i :8000)",
|
|
"Bash(xargs -r kill -9 lsof -i :8080)",
|
|
"Bash(xargs:*)",
|
|
"Bash(netstat:*)",
|
|
"Bash(sudo killall:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(echo:*)",
|
|
"Bash(timeout 120 curl:*)",
|
|
"Bash(git -C /root/work/stock log --oneline -10)",
|
|
"Bash(/dev/null)",
|
|
"Bash(python:*)",
|
|
"Bash(pip3 install:*)",
|
|
"Bash(npm install)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(stock_backend:latest)",
|
|
"Bash(__NEW_LINE__ echo \"=== Testing AAPL (Stock) ===\" curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"AAPL\"\"\"\"}')",
|
|
"Bash(__NEW_LINE__ echo \"=== Testing AAPL (US Stock) ===\" curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"AAPL\"\"\"\"}')"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|