adityamanwatkar commited on
Commit
384caae
·
verified ·
1 Parent(s): 9ca61ac

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +10 -0
app/main.py CHANGED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from app.graph.workflow import build_graph
2
+
3
+ graph = build_graph()
4
+
5
+ def run_agent(prompt):
6
+ result = graph.invoke({
7
+ "prompt": prompt,
8
+ "iteration": 0
9
+ })
10
+ return result