-
Notifications
You must be signed in to change notification settings - Fork 489
Fix: FirecrawlCrawlWebsiteTool update parameters for FireCrawl API v1 and update run arguments for agents #237
Fix: FirecrawlCrawlWebsiteTool update parameters for FireCrawl API v1 and update run arguments for agents #237
Conversation
…does not recognize sent paramters (HTTPError: Unexpected error during start crawl job: Status code 400. Bad Request -
[{'code': 'unrecognized_keys', 'keys': ['crawlerOptions', 'timeout'], 'path': [], 'message': 'Unrecognized key in body -- please review the v1 API documentation for request body changes'}]) because it has been updated to v1. I updated the sent parameters to match v1 and updated their description in the readme file
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #237 - FireCrawl API UpdateOverviewThis PR makes significant updates to the FireCrawl crawler implementation, aligning it with the v1 API requirements by modifying the parameter structure and accompanying documentation. Code Quality Findings
Historical Context from Related PRsWhile I could not fetch specific historical data, it’s important to acknowledge that related pull requests modified similar files and parameters. Reviewing these changes may reveal useful practices and pitfalls from past implementations. SummaryThe PR effectively addresses API compatibility, but there are additional enhancements required in error handling, documentation, and testing that will improve the robustness and usability of the tool. By implementing the suggested improvements, the development team can ensure a better user experience and maintainability of the codebase moving forward. Regular updates and community feedback will be key to sustaining this alignment with future API versions. |
|
I updated the tool more given the review above: 1-Added examples for the API request in the readme. Please check the tool now and tell me if there's more I can update/fix. |
|
Hello @joaomdmoura & @lorenzejay. Can you please review this update, I also need this tool for my project and work. your efforts are truly appreciated. |
|
Taking a look |
…s and formatting for improved readability
lorenzejay
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
FireCrawl API does not recognize sent parameters as this error describes:
Because FireCrawl API has been updated to v1. I updated the tool parameters to match v1 and updated their description in the ReadMe file