mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-12 14:23:58 +00:00
parent
a39c998342
commit
cf3569fb1b
@ -45,8 +45,6 @@ class SelfAskWithSearchAgent(Agent):
|
|||||||
|
|
||||||
if " " == after_colon[0]:
|
if " " == after_colon[0]:
|
||||||
after_colon = after_colon[1:]
|
after_colon = after_colon[1:]
|
||||||
if "?" != after_colon[-1]:
|
|
||||||
print("we probably should never get here..." + text)
|
|
||||||
|
|
||||||
return "Intermediate Answer", after_colon
|
return "Intermediate Answer", after_colon
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user