Skip to content

Commit 51b93b4

Browse files
ftonatomdrxy
andauthored
fix: ensure 'integration' parameter is set for langchain in FireCrawlLoader (#125)
Hello, As maintainers of the Firecrawl project, we’re introducing a new parameter to help identify the origin of incoming requests. This PR adds support for that parameter, allowing us to track when someone is using our integration via `langchain`. --------- Co-authored-by: Mason Daugherty <[email protected]>
1 parent 22e4798 commit 51b93b4

File tree

1 file changed

+1
-0
lines changed
  • libs/community/langchain_community/document_loaders

1 file changed

+1
-0
lines changed

libs/community/langchain_community/document_loaders/firecrawl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def __init__(
270270
self.params = params or {}
271271

272272
def lazy_load(self) -> Iterator[Document]:
273+
self.params['integration'] = 'langchain'
273274
if self.mode == "scrape":
274275
firecrawl_docs = [
275276
self.firecrawl.scrape_url(

0 commit comments

Comments
 (0)