fix: FireCrawlLoader

This commit is contained in:
Timothy Jaeryang Baek committed 2025-04-24 01:40:34 +09:00
1 parent 7baca2b483
commit 09874ab83d
2 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -1536,8 +1536,8 @@ async def process_web_search(
)
docs = await loader.aload()
urls = [
doc.metadata["source"] for doc in docs
] # only keep URLs which could be retrieved
doc.metadata.get("source") for doc in docs if doc.metadata.get("source")
] # only keep URLs
if request.app.state.config.BYPASS_WEB_SEARCH_EMBEDDING_AND_RETRIEVAL:
return {