mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 07:19:35 +00:00
Backend - eliminated ALL stub/placeholder services:
forecast_control_center.py: Now queries real Deal + StrategicDeal tables
for actual revenue, pipeline forecast, partnership counts, M&A counts
model_routing_dashboard.py: Now queries real AIConversation table for
total calls, tokens used, average latency, estimated cost in SAR
Both services now use AsyncSession with lazy imports.
Backend APIs updated:
forecast_control.py: All routes now use async _get_db + real service
model_routing.py: All routes now use async _get_db + real service
Frontend - wired 3 more components to real APIs:
approval-center.tsx: Now fetches from /api/v1/approval-center/ every 15s
saudi-compliance-dashboard.tsx: Now fetches from /api/v1/compliance/matrix/
connector-governance-board.tsx: Now fetches from /api/v1/connectors/governance
Audit findings addressed:
- 0/8 placeholder backend services → 0 remaining (all query real DB)
- 1/9 frontend components wired → 4/9 now wired to real APIs
https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
|
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| knowledge_base | ||
| scripts | ||
| tests | ||
| .env.phase2.example | ||
| alembic.ini | ||
| campaign_results.json | ||
| Dockerfile | ||
| pytest.ini | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| seed_database.py | ||
| update_requirements.py | ||