Skip to content

Conversation

versole
Copy link
Contributor

@versole versole commented Jun 26, 2024

Fix: cheerio loader headers type is not fetch request headers

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 26, 2024
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 0:20am
langchainjs-docs ✅ Ready (Inspect) Visit Preview Jun 28, 2024 0:20am

@dosubot dosubot bot added the auto:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jun 26, 2024
static async scrapeAll(
urls: string[],
caller: AsyncCaller,
timeout: number | undefined,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey team, just wanted to flag that the recent change in cheerio.ts introduces a potential new external HTTP request using fetch. This is flagged for your review to ensure it aligns with the project's requirements. Great work overall!

@bracesproul bracesproul changed the title fix: cheerio loader fetch headers type error community[patch]: cheerio loader fetch headers type error Jun 26, 2024
Copy link
Member

@bracesproul bracesproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for pushing up this commit

@bracesproul bracesproul merged commit f3585eb into langchain-ai:main Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants