agent-factory: generate agent auto-retrieve-repository-source-cod

This commit is contained in:
2026-08-05 18:09:29 +00:00
parent 5cdf3ece06
commit b42694edd3
19 changed files with 587 additions and 0 deletions

View File

View File

@@ -0,0 +1,19 @@
"""
LangGraph workflow for AutoRetrieveRepositorySourceCod agent.
"""
from langgraph.graph import StateGraph, END
from app.states.auto_retrieve_repository_source_cod_state import AutoRetrieveRepositorySourceCodState
from app.nodes.core_node import process
def create_auto_retrieve_repository_source_cod_workflow(llm):
"""Build and compile the AutoRetrieveRepositorySourceCod workflow graph."""
graph = StateGraph(AutoRetrieveRepositorySourceCodState)
graph.add_node("process", process)
graph.set_entry_point("process")
graph.add_edge("process", END)
return graph.compile()