15 lines
484 B
Python
15 lines
484 B
Python
from app.schemas.spec import ProjectSpec
|
|
|
|
|
|
async def run_pm_agent(user_input: str) -> ProjectSpec:
|
|
"""
|
|
Agent PM minimal :
|
|
- transforme l'entrée utilisateur en cahier des charges structuré
|
|
"""
|
|
return ProjectSpec(
|
|
title="Projet généré depuis demande utilisateur",
|
|
description=user_input,
|
|
requirements=["MVP minimal", "Architecture modulaire"],
|
|
constraints=["Python", "LangGraph", "Pydantic"],
|
|
target_stack="Python",
|
|
) |