The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
fix whitespace for conversational agent (#690)
Harrison Chaseaef82f5d5970
diff --git a/langchain/agents/conversational/base.py b/langchain/agents/conversational/base.pyindex 02b987ea10..7ea6a26878 100644--- a/langchain/agents/conversational/base.py+++ b/langchain/agents/conversational/base.py@@ -78,7 +78,7 @@ class ConversationalAgent(Agent):raise ValueError(f"Could not parse LLM output: `{llm_output}`")action = match.group(1)action_input = match.group(2)- return action, action_input.strip(" ").strip('"')+ return action.strip(), action_input.strip(" ").strip('"')@classmethoddef from_llm_and_tools(