langflow
langflow copied to clipboard
refactor: Simplify agent input text content construction
This pull request simplifies the construction of agent input text content. The build_agent_input_text_content
function has been refactored to remove unnecessary code and improve readability. The function now only includes the final user input in the content, prefixed with "HUMAN: ". This change ensures that the agent input text content is correctly generated.