Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

add the url variable in the get_text_summary function to pass it to the memory

Maiko Bossuyt5bb551db95fe
diff --git a/scripts/commands.py b/scripts/commands.py
index 92d46ae18a..90d7a6f31e 100644
--- a/scripts/commands.py
+++ b/scripts/commands.py
@@ -183,7 +183,7 @@ def browse_website(url, question):
def get_text_summary(url, question):
"""Return the results of a google search"""
text = browse.scrape_text(url)
- summary = browse.summarize_text(text, question)
+ summary = browse.summarize_text(url, text, question)
return """ "Result" : """ + summary