MCPcopy Index your code
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / info_add

Function info_add

src/WorkFlow.py:120–127  ·  view source on GitHub ↗
(name: str, state: PipelineState, information: str, llm)

Source from the content-addressed store, hash-verified

118 return state
119
120def info_add(name: str, state: PipelineState, information: str, llm) -> PipelineState:
121 logger(f"{name} is adding information...")
122
123 # Append the provided information to the history
124 state["history"] += "\n" + information
125 state["history"] = clip_history(state["history"])
126
127 return state
128
129
130def sg_add(name:str, state: PipelineState, sg_name: str) -> PipelineState:

Callers 1

build_subgraphFunction · 0.85

Calls 2

loggerFunction · 0.90
clip_historyFunction · 0.90

Tested by

no test coverage detected