Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community[patch]: cheerio loader fetch headers type error #5905

Merged
merged 4 commits into from
Jun 28, 2024

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
@@ -86,7 +86,7 @@ export class CheerioWebBaseLoader
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
Collaborator

@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
37 checks passed
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