File size: 200 Bytes
916083b
 
 
 
 
 
 
 
 
f9b0ed6
1
2
3
4
5
6
7
8
9
10
from app.graph.workflow import build_graph

graph = build_graph()

def run_agent(prompt):
    result = graph.invoke({
        "prompt": prompt,
        "iteration": 0
    })
    return result