agent-factory: generate agent auto-retrieveapplicationdefinitio
This commit is contained in:
19
app/workflows/auto_retrieveapplicationdefinitio_workflow.py
Normal file
19
app/workflows/auto_retrieveapplicationdefinitio_workflow.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
LangGraph workflow for AutoRetrieveapplicationdefinitio agent.
|
||||
"""
|
||||
from langgraph.graph import StateGraph, END
|
||||
|
||||
from app.states.auto_retrieveapplicationdefinitio_state import AutoRetrieveapplicationdefinitioState
|
||||
from app.nodes.core_node import process
|
||||
|
||||
|
||||
def create_auto_retrieveapplicationdefinitio_workflow(llm):
|
||||
"""Build and compile the AutoRetrieveapplicationdefinitio workflow graph."""
|
||||
graph = StateGraph(AutoRetrieveapplicationdefinitioState)
|
||||
|
||||
graph.add_node("process", process)
|
||||
|
||||
graph.set_entry_point("process")
|
||||
graph.add_edge("process", END)
|
||||
|
||||
return graph.compile()
|
||||
Reference in New Issue
Block a user