(name: str, state: PipelineState, information: str, llm)
| 118 | return state |
| 119 | |
| 120 | def 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 | |
| 130 | def sg_add(name:str, state: PipelineState, sg_name: str) -> PipelineState: |
no test coverage detected