Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def call_search(purpose, task, history, directory, action_input):
|
|
115 |
print(response)
|
116 |
history += "observation: search result is: {}\n".format(response)
|
117 |
else:
|
118 |
-
history += "observation: I need to provide a valid URL to 'action: SEARCH action_input=URL'\n"
|
119 |
except Exception as e:
|
120 |
history += "observation: {}'\n".format(e)
|
121 |
return "MAIN", None, history, task
|
|
|
115 |
print(response)
|
116 |
history += "observation: search result is: {}\n".format(response)
|
117 |
else:
|
118 |
+
history += "observation: I need to provide a valid URL to 'action: SEARCH action_input=https://URL'\n"
|
119 |
except Exception as e:
|
120 |
history += "observation: {}'\n".format(e)
|
121 |
return "MAIN", None, history, task
|