Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 06:00 UTC
fix/restore-static-site
| 1 | from fastapi import APIRouter, Body |
| 2 | from backend.agents.content_gen import content_agent |
| 3 | from backend.agents.prospect_finder import prospect_agent |
| 4 | |
| 5 | business_suite_router = APIRouter() |
| 6 | |
| 7 | @business_suite_router.post("/content-studio") |
| 8 | async def content_studio(payload: dict = Body(...)): |
| 9 | # Route through CamoFlow OS agents |
| 10 | return await content_agent.run(payload.get("topic")) |
| 11 | |
| 12 | @business_suite_router.post("/prospect-engine") |
| 13 | async def prospect_engine(payload: dict = Body(...)): |
| 14 | # Route through CamoFlow OS agents |
| 15 | return await prospect_agent.run(payload.get("criteria")) |