-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
fix: tokenizer bug fix in codeanalysis #988
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
👍 Looks good to me! Reviewed everything up to b35bf8a in 21 seconds
More details
- Looked at
35
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. python/tox.ini:98
- Draft comment:
The version constraint for 'transformers' is updated in setup.py but not reflected here. Ensure consistency across files. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_DCUeUkVPmvH4fOoV
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
@@ -91,16 +91,11 @@ deps = | |||
codecov==2.1.13 | |||
pytest-codecov==0.5.1 | |||
typing_extensions>=4.10.0 |
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.
The removal of these dependencies (tree_sitter, deeplake, jedi, sentence_transformers, tree_sitter_languages) from tox.ini is concerning as they are listed as required dependencies in the CodeAnalysisTool class. Please ensure these dependencies are properly managed elsewhere or document why they are being removed.
@@ -77,7 +77,7 @@ def scan_for_package_data( | |||
"networkx", | |||
"ruff", | |||
"flake8", | |||
"transformers", | |||
"transformers>=4.46.3,<4.47", |
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.
Good practice to pin the transformers version. Consider adding a comment explaining why this specific version range (4.46.3,<4.47) is required, especially since it needs to be compatible with tokenizers>=0.20,<0.21 used in CodeAnalysisTool.
Code Review SummaryChanges Overview
Concerns
Suggestions
Rating:
|
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.
👍 Looks good to me! Incremental review on 7011538 in 8 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. python/tox.ini:121
- Draft comment:
The removal ofcomposio/
from the pytest command is not mentioned in the PR description. Ensure this change is intentional, as it may lead to untested code. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_llP2eLLJP5X6ZCNM
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Update
transformers
version and remove unused dependencies to fix tokenizer bug in code analysis.transformers
version to>=4.46.3,<4.47
insetup.py
to fix tokenizer bug.tree_sitter
,sentence_transformers
, andtree_sitter_languages
fromtox.ini
dependencies.This description was created by for 7011538. It will automatically update as commits are pushed.