diff --git a/metagpt/tools/libs/browser.py b/metagpt/tools/libs/browser.py index 223434b3a..8d6daec11 100644 --- a/metagpt/tools/libs/browser.py +++ b/metagpt/tools/libs/browser.py @@ -62,6 +62,7 @@ class Browser: with mem_fs.open(filename, "w") as f: f.write(html) + # Since RAG is an optional optimization, if it fails, the simplified HTML can be used as a fallback. with contextlib.suppress(Exception): from metagpt.rag.engines import SimpleEngine # avoid circular import