Spaces:
Running
Running
Update tools/visit_webpage.py
Browse files- tools/visit_webpage.py +1 -1
tools/visit_webpage.py
CHANGED
|
@@ -32,7 +32,7 @@ class VisitWebpageTool(Tool):
|
|
| 32 |
# Remove multiple line breaks
|
| 33 |
markdown_content = re.sub(r"\n{3,}", "\n\n", markdown_content)
|
| 34 |
|
| 35 |
-
return truncate_content(markdown_content,
|
| 36 |
|
| 37 |
except requests.exceptions.Timeout:
|
| 38 |
return "The request timed out. Please try again later or check the URL."
|
|
|
|
| 32 |
# Remove multiple line breaks
|
| 33 |
markdown_content = re.sub(r"\n{3,}", "\n\n", markdown_content)
|
| 34 |
|
| 35 |
+
return truncate_content(markdown_content, 12000)
|
| 36 |
|
| 37 |
except requests.exceptions.Timeout:
|
| 38 |
return "The request timed out. Please try again later or check the URL."
|