Conversation
Merged
VinciGit00
approved these changes
Apr 15, 2025
|
🎉 This PR is included in version 1.47.0-beta.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.47.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CodeBeaver Report
I started working from Pre/beta
🔄 2 test files added.
🐛 Found 1 bug
🛠️ 108/156 tests passed
🔄 Test Updates
I've added 2 tests. They all pass ☑️
New Tests:
tests/test_chromium.pytests/test_scrape_do.pyNo existing tests required updates.
🐛 Bug Detection
Potential issues:
scrapegraphai/graphs/abstract_graph.pyThe error is occurring in the
_create_llmmethod of theAbstractGraphclass. Specifically, it's failing when trying to create a Bedrock model instance. The error message indicates that it's trying to pop a 'temperature' key from thellm_paramsdictionary, but this key doesn't exist.This suggests that the test is expecting the Bedrock model configuration to include a 'temperature' parameter, which is not being provided in the test case.
The issue is not with the test itself, but with how the
_create_llmmethod is handling the Bedrock model configuration. It's assuming that all Bedrock models will have a 'temperature' parameter, which may not always be the case.To fix this, the code should be modified to handle cases where the 'temperature' parameter is not provided for Bedrock models. This could be done by using the
getmethod with a default value, or by checking if the key exists before trying to pop it.For example, the code could be changed to:
This change would allow the code to work correctly even when the 'temperature' parameter is not provided in the test configuration.
Test Error Log
☂️ Coverage Improvements
Coverage improvements by file:
tests/test_chromium.pytests/test_scrape_do.py🎨 Final Touches
Settings | Logs | CodeBeaver