The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
remove check (#217)
Harrison Chasecf3569fb1be7
diff --git a/langchain/agents/self_ask_with_search/base.py b/langchain/agents/self_ask_with_search/base.pyindex ce4590a2df..ab0b6c62cf 100644--- a/langchain/agents/self_ask_with_search/base.py+++ b/langchain/agents/self_ask_with_search/base.py@@ -45,8 +45,6 @@ class SelfAskWithSearchAgent(Agent):if " " == after_colon[0]:after_colon = after_colon[1:]- if "?" != after_colon[-1]:- print("we probably should never get here..." + text)return "Intermediate Answer", after_colon