Update agent.py
Browse files
agent.py
CHANGED
@@ -357,7 +357,6 @@ def search_and_extract_content_from_url(query: str) -> List[Document]:
|
|
357 |
for doc in documents:
|
358 |
doc.metadata["source"] = url
|
359 |
doc.metadata["type"] = "web_text"
|
360 |
-
print(documents)
|
361 |
return documents
|
362 |
except Exception as e:
|
363 |
# Handle any exceptions that occur during content extraction
|
|
|
357 |
for doc in documents:
|
358 |
doc.metadata["source"] = url
|
359 |
doc.metadata["type"] = "web_text"
|
|
|
360 |
return documents
|
361 |
except Exception as e:
|
362 |
# Handle any exceptions that occur during content extraction
|