Deployment Ready: Fixed scam detection low confidence, added production audit report, optimized throttles
1838600 | from fastapi import FastAPI, Request | |
| import uvicorn | |
| import json | |
| app = FastAPI() | |
| async def mock_guvi_callback(request: Request): | |
| payload = await request.json() | |
| print("\n" + "="*50) | |
| print("🔔 RECEIVED MANDATORY GUVI CALLBACK") | |
| print("="*50) | |
| print(json.dumps(payload, indent=2)) | |
| print("="*50 + "\n") | |
| return {"status": "success", "message": "Callback received by Mock GUVI"} | |
| if __name__ == "__main__": | |
| uvicorn.run(app, host="0.0.0.0", port=8001) | |