style: code format (#1513)

This commit is contained in:
Aries-ckt
2024-05-13 09:39:15 +08:00
committed by GitHub
parent f389a0c32d
commit c8fb508fe4
5 changed files with 25 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ class URLKnowledge(Knowledge):
if self._loader:
documents = self._loader.load()
else:
from langchain.document_loaders import WebBaseLoader
from langchain.document_loaders import WebBaseLoader # mypy: ignore
if self._path is not None:
web_reader = WebBaseLoader(web_path=self._path)