Update app.py
Browse files
app.py
CHANGED
@@ -52,10 +52,8 @@ class BasicAgent:
|
|
52 |
|
53 |
def _create_workflow(self) -> Graph:
|
54 |
"""Create the agent workflow using LangGraph."""
|
55 |
-
# Create the workflow with
|
56 |
workflow = StateGraph(
|
57 |
-
input_type=AgentState,
|
58 |
-
output_type=AgentState,
|
59 |
state_schema=AgentState
|
60 |
)
|
61 |
|
|
|
52 |
|
53 |
def _create_workflow(self) -> Graph:
|
54 |
"""Create the agent workflow using LangGraph."""
|
55 |
+
# Create the workflow with state schema
|
56 |
workflow = StateGraph(
|
|
|
|
|
57 |
state_schema=AgentState
|
58 |
)
|
59 |
|