def formatter_node(llm_output): # Remove extra prefixes, whitespace, etc. cleaned = llm_output.strip() return cleaned