Skip to content

The agent engineering platform.

remove check (#217)

Harrison Chasecf3569fb1be7
diff --git a/langchain/agents/self_ask_with_search/base.py b/langchain/agents/self_ask_with_search/base.py
index 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