-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Migrate to UV #1280
Migrate to UV #1280
Conversation
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 9439f2b in 18 seconds
More details
- Looked at
301
lines of code in3
files - Skipped
2
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/ruff.yml:31
- Draft comment:
Ensure thatuv
is correctly set up and configured before runninguv sync --all-extras
. Consider adding a step to verify the installation or configuration ofuv
. - Reason this comment was not posted:
Confidence changes required:50%
The PR description mentions migrating to UV for faster CI. The changes in the workflow file reflect this, but there is a missing step to ensure the environment is correctly set up for UV.
2. pyproject.toml:16
- Draft comment:
Since the library code has changed with the introduction ofuv
, ensure that the documentation is updated accordingly. Also, verify that tests are updated to reflect these changes. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_ulg5D1VOOHrAJ11H
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Deploying instructor-py with Cloudflare Pages
|
Following this specific guide : https://x.com/tiangolo/status/1839686030007361803 |
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 8c5c14d in 33 seconds
More details
- Looked at
121
lines of code in4
files - Skipped
0
files when reviewing. - Skipped posting
5
drafted comments based on config settings.
1. .github/workflows/test.yml:29
- Draft comment:
Replacepoetry
withuv
for running tests to align with the migration frompoetry
touv
. - Reason this comment was not posted:
Comment was on unchanged code.
2. .github/workflows/test_docs.yml:36
- Draft comment:
Replacepoetry
withuv
for running tests to align with the migration frompoetry
touv
. - Reason this comment was not posted:
Marked as duplicate.
3. .github/workflows/python-publish.yml:36
- Draft comment:
Replacepoetry
withuv
for getting the release version to align with the migration frompoetry
touv
. - Reason this comment was not posted:
Comment was on unchanged code.
4. .github/workflows/test.yml:29
- Draft comment:
Replacepoetry
withuv
for running tests to maintain consistency with the new setup. - Reason this comment was not posted:
Marked as duplicate.
5. .github/workflows/test_docs.yml:36
- Draft comment:
Replacepoetry
withuv
for running tests to maintain consistency with the new setup. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_kcH73pNzowKX2Leb
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 fb5ae36 in 9 seconds
More details
- Looked at
33
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/test.yml:29
- Draft comment:
Consider defining a reusable command or step foruvx run
to avoid repetition and potential errors in future updates. This applies to lines 29, 36, 43, 44, and 45. - Reason this comment was not posted:
Confidence changes required:50%
Theuvx run
command is used multiple times in the workflow file. It would be more efficient to define a reusable command or step to avoid repetition and potential errors in future updates.
2. .github/workflows/test.yml:30
- Draft comment:
Environment variables for API keys are repeated in multiple steps. Consider setting them once at the job level to adhere to the DRY principle. - Reason this comment was not posted:
Confidence changes required:80%
The code has repetitive environment variable settings for API keys in multiple steps. This violates the DRY principle.
Workflow ID: wflow_FaYBMUNjPCATQN5X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 17ee012 in 53 seconds
More details
- Looked at
10
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/pyright.yml:33
- Draft comment:
Consider specifying a Pyright version to ensure consistency and avoid potential breaking changes from future updates. - Reason this comment was not posted:
Confidence changes required:80%
The removal of the specific Pyright version could lead to inconsistencies if the latest version has breaking changes.
2. .github/workflows/pyright.yml:33
- Draft comment:
Consider specifying a version forjakebailey/pyright-action
to ensure consistent behavior across runs. - Reason this comment was not posted:
Confidence changes required:50%
The removal of the version specification for thepyright-action
might lead to unexpected behavior if the action updates in a way that is not compatible with the current setup.
Workflow ID: wflow_FqF2zqwr62bRUFlu
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 d25ce3a in 32 seconds
More details
- Looked at
69
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. pyproject.toml:25
- Draft comment:
The[tool.pyright]
section was removed and then re-added without changes. Consider retaining it in its original position to avoid confusion. - Reason this comment was not posted:
Confidence changes required:50%
The removal and re-addition of the[tool.pyright]
section inpyproject.toml
seems unnecessary and could lead to confusion. It should be retained in its original position if no changes are made.
2. pyproject.toml:88
- Draft comment:
The change in thepyright
version specifier is a library code change. Ensure that the documentation and tests are updated accordingly. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The rules explicitly state "Do NOT comment on dependency changes, library versions that you don't recognize, or anything else related to dependencies." This is clearly a dependency version change in the dev dependencies section. The comment violates this rule directly.
Maybe pyright is a special case since it's a type checker and could affect the codebase's type checking behavior?
No, the rules are clear about dependency changes, and there's no exception listed for development tools. We should trust that the author has tested the dependency change appropriately.
The comment should be deleted as it violates the explicit rule about not commenting on dependency changes.
Workflow ID: wflow_fhMZUdlyRZlVwd5F
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 ee87158 in 9 seconds
More details
- Looked at
11
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. .github/workflows/pyright.yml:34
- Draft comment:
Consider specifying the working directory foruv run pyright
to ensure it runs in the correct context. Use--cwd ${{ env.WORKING_DIRECTORY }}
if needed. - Reason this comment was not posted:
Confidence changes required:50%
Theuv run pyright
command should specify the working directory to ensure it runs in the correct context.
Workflow ID: wflow_p4ziOjdc5zqUdw7l
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 bf9c1d2 in 12 seconds
More details
- Looked at
40
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. instructor/client.py:376
- Draft comment:
Using# type: ignore[override]
suggests a mismatch in method signatures betweenAsyncInstructor
andInstructor
. Ensure this is intentional and won't cause runtime issues. - Reason this comment was not posted:
Confidence changes required:50%
The use of# type: ignore[override]
indicates that the method signatures in the subclassAsyncInstructor
do not match the base classInstructor
. This could lead to potential issues if the method signatures are expected to be the same. It's important to ensure that the method signatures are intentionally different and that this won't cause any runtime issues.
2. instructor/client.py:376
- Draft comment:
Add a comment explaining why# type: ignore[override]
is used forcreate
,create_partial
,create_iterable
, andcreate_with_completion
methods inAsyncInstructor
. - Reason this comment was not posted:
Confidence changes required:80%
Thecreate
,create_partial
,create_iterable
, andcreate_with_completion
methods in theAsyncInstructor
class have a# type: ignore[override]
comment, which suggests that the method signatures might not match the base class. This needs to be documented or explained in the code.
Workflow ID: wflow_UOfGUexrQJDbbLgn
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 8377d14 in 11 seconds
More details
- Looked at
33
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/test.yml:29
- Draft comment:
Ensure thatuv
is the correct command replacement foruvx
. Ifuvx
was used for a specific reason, verify thatuv
provides the same functionality. - Reason this comment was not posted:
Confidence changes required:50%
Theuvx
command is replaced withuv
, which is correct as per the PR description. However, theuvx
command is not used anywhere else in the file, so no further changes are needed.
2. .github/workflows/test.yml:29
- Draft comment:
The change fromuvx
touv
should be mentioned in the PR description for clarity. - Reason this comment was not posted:
Confidence changes required:50%
The change fromuvx
touv
in the workflow file is consistent, but the PR description should mention this change for clarity.
Workflow ID: wflow_IWYE6rX5HuZfem2f
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 2e7cf73 in 13 seconds
More details
- Looked at
20
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. pyproject.toml:94
- Draft comment:
pytest-examples
is defined twice in thedev
anddocs
groups with overlapping version constraints. Consider consolidating to avoid redundancy. - Reason this comment was not posted:
Confidence changes required:80%
Thepytest-examples
dependency is defined twice in thedev
anddocs
groups with overlapping version constraints. This redundancy should be removed to avoid confusion.
2. pyproject.toml:94
- Draft comment:
Duplicate entry forpytest-examples
indev
anddocs
sections. Consider removing one to adhere to DRY principle. - Reason this comment was not posted:
Confidence changes required:80%
Thepyproject.toml
file has duplicate entries forpytest-examples
in bothdev
anddocs
sections. This violates the DRY principle.
Workflow ID: wflow_gPL8AssZn4lB7Ny7
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 c90f968 in 16 seconds
More details
- Looked at
52
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. uv.lock:1763
- Draft comment:
Duplicate entry forpytest-examples
indocs
section. Consider removing it to avoid redundancy. - Reason this comment was not posted:
Confidence changes required:80%
Theuv.lock
file has duplicate entries forpytest-examples
in both thedev
anddocs
sections. This redundancy should be removed to avoid potential conflicts or confusion.
2. uv.lock:1663
- Draft comment:
Ensure that documentation and tests are updated to reflect the change in thepytest-examples
dependency version. - Reason this comment was not posted:
Confidence changes required:80%
The change in theuv.lock
file indicates an update to thepytest-examples
dependency. This is a library code change, so we need to ensure that the documentation and tests are updated accordingly.
Workflow ID: wflow_vRWVPGyDfS6D7Ww4
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 3f9901c in 14 seconds
More details
- Looked at
45
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/test.yml:17
- Draft comment:
Consider updating toactions/checkout@v3
for consistency and to use the latest version. - Reason this comment was not posted:
Confidence changes required:50%
The use ofactions/checkout@v2
is outdated and should be updated toactions/checkout@v3
for consistency and to benefit from the latest features and fixes.
2. .github/workflows/pyright.yml:21
- Draft comment:
Ensure that documentation and tests are updated to reflect the change frompoetry
touv
. This is crucial for maintaining consistency and correctness. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_zfsQ5iCre7GHOS1b
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 9f2ba9e in 28 seconds
More details
- Looked at
29
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/python-publish.yml:24
- Draft comment:
The order of setting up Python and installinguv
is incorrect.uv
should be installed after setting up Python. - Reason this comment was not posted:
Confidence changes required:80%
The order of setting up Python and installinguv
is incorrect.uv
should be installed after setting up Python.
2. .github/workflows/python-publish.yml:31
- Draft comment:
The line usingpoetry
to get the release version should be updated to useuv
instead, as the rest of the workflow has migrated touv
. - Reason this comment was not posted:
Comment was not on a valid diff hunk.
Workflow ID: wflow_G4K924JffUn0HKnq
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 33e968a in 11 seconds
More details
- Looked at
12
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/test.yml:35
- Draft comment:
Consider including the Gemini tests in the coverage report for completeness. Currently, the coverage report excludes them. - Reason this comment was not posted:
Confidence changes required:80%
The condition for running the Gemini tests is correct, but the coverage report should also include the Gemini tests for completeness.
2. .github/workflows/test.yml:35
- Draft comment:
The conditionif: matrix.python-version == '3.11'
is repeated for running Gemini tests and generating coverage report. Consider refactoring to avoid repetition and adhere to the DRY principle. - Reason this comment was not posted:
Confidence changes required:80%
The condition for running Gemini tests is repeated, which violates the DRY principle. It should be refactored to avoid repetition.
Workflow ID: wflow_M9BLjz3f7Ry0AnWO
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Just a quick note on how UV works here
This helps to add a package as a optional dependency |
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 ac8f7e8 in 16 seconds
More details
- Looked at
14
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. pyproject.toml:25
- Draft comment:
The[tool.uv]
section is not standard forpyproject.toml
. Verify if this is necessary or correctly placed. - Reason this comment was not posted:
Confidence changes required:80%
The[tool.uv]
section is not standard forpyproject.toml
. It might be a custom configuration, but it should be verified if it's necessary or correctly placed.
2. pyproject.toml:22
- Draft comment:
Thetest-docs
optional dependency group is duplicated in the[dependency-groups]
section. Please remove the duplicate to adhere to the DRY principle. This issue is also present for other groups likeanthropic
,litellm
,google-generativeai
, andvertexai
. - Reason this comment was not posted:
Confidence changes required:80%
Thepyproject.toml
file has duplicate entries for optional dependencies and dependency groups, which violates the DRY principle.
Workflow ID: wflow_TfdBQlnqSHSsNG0X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 8679309 in 11 seconds
More details
- Looked at
39
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. README.md:3
- Draft comment:
Ensure the download count is accurate and up-to-date. - Reason this comment was not posted:
Confidence changes required:33%
The README update reflects a change in the number of downloads, which is a factual update and does not require any code changes. However, it's important to ensure that the number is accurate and up-to-date.
2. README.md:523
- Draft comment:
Ensure that themkdocs.yml
file is updated to include the new instructions for usinguv
as mentioned in the README.md. - Reason this comment was not posted:
Confidence changes required:80%
The README.md file has been updated with new instructions for usinguv
, but the mkdocs.yml file should also be updated to reflect these changes.
Workflow ID: wflow_Dj1ATmoiAyap7XR8
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 f484c9f in 13 seconds
More details
- Looked at
27
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. uv.lock:1599
- Draft comment:
Changingsource
fromvirtual
toeditable
may affect package installation behavior. Ensure this aligns with the intended use of the package. - Reason this comment was not posted:
Confidence changes required:50%
The change from 'virtual' to 'editable' in the 'uv.lock' file might affect how the package is installed. This should be verified to ensure it aligns with the intended behavior.
2. uv.lock:1599
- Draft comment:
Library code change detected. Ensure that documentation and tests are updated accordingly. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_JbLfzwuK3Xx85XR6
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 14ca299 in 42 seconds
More details
- Looked at
38
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
4
drafted comments based on config settings.
1. instructor/client_anthropic.py:12
- Draft comment:
Theenable_prompt_caching
parameter is removed from the function signature but still mentioned in the docstring. Please update the docstring to reflect the current function parameters. - Reason this comment was not posted:
Confidence changes required:80%
The removal ofenable_prompt_caching
from the function signature ininstructor/client_anthropic.py
is not reflected in the docstring. This can lead to confusion for developers using this function.
2. instructor/client_anthropic.py:25
- Draft comment:
Theenable_prompt_caching
parameter is removed from the function signature but still mentioned in the docstring. Please update the docstring to reflect the current function parameters. - Reason this comment was not posted:
Confidence changes required:80%
The removal ofenable_prompt_caching
from the function signature ininstructor/client_anthropic.py
is not reflected in the docstring. This can lead to confusion for developers using this function.
3. instructor/utils.py:170
- Draft comment:
Initializingcache_creation_input_tokens
andcache_read_input_tokens
to 0 if they are not set is a good practice to preventNoneType
errors during arithmetic operations. This is correctly implemented here and in lines 173-174. - Reason this comment was not posted:
Confidence changes required:0%
The code ininstructor/utils.py
initializescache_creation_input_tokens
andcache_read_input_tokens
to 0 if they are not already set. This is a good practice to avoidNoneType
errors during arithmetic operations.
4. instructor/utils.py:170
- Draft comment:
The initialization ofcache_creation_input_tokens
andcache_read_input_tokens
to 0 is repeated. Consider refactoring to avoid repetition.
for attr in ['cache_creation_input_tokens', 'cache_read_input_tokens']:
if not getattr(total_usage, attr):
setattr(total_usage, attr, 0)
- Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The repetition is real but minor - just two lines. The initialization is part of a larger block handling Anthropic-specific usage tracking. A refactor might make the code slightly cleaner but could also make it less readable by separating related logic. The current form is very explicit and clear about what's happening.
The comment points out a real DRY violation, but is the suggested refactor worth the added complexity? The current code is very readable and maintainable as is.
While technically correct, this refactor would be a micro-optimization that could make the code less clear for minimal benefit. The current repetition serves readability.
The comment should be deleted. While technically correct about the DRY violation, the suggested refactor would likely not improve the code enough to justify the change.
Workflow ID: wflow_4WXJJF9zzrUVwjla
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 980b0f2 in 21 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. uv.lock:1597
- Draft comment:
Ensure the version update inuv.lock
is consistent withpyproject.toml
. - Reason this comment was not posted:
Confidence changes required:50%
The version update inuv.lock
should be consistent with the rest of the project files. This change should be reflected in thepyproject.toml
as well.
2. uv.lock:1597
- Draft comment:
If the version update inuv.lock
reflects changes in the library, ensure that corresponding documentation and tests are updated as well. - Reason this comment was not posted:
Confidence changes required:50%
The version update inuv.lock
should be accompanied by corresponding updates in documentation and tests, if applicable.
Workflow ID: wflow_4nBrU7Q61BDdU9ka
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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 6188bb1 in 14 seconds
More details
- Looked at
14
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. .github/workflows/python-publish.yml:34
- Draft comment:
Ensureuv publish
handles versioning correctly, as the step to get the release version was removed. - Reason this comment was not posted:
Confidence changes required:50%
The removal of the step to get the release version usingpoetry
is correct since the workflow is now usinguv
. However, theuv publish
command should be verified to ensure it handles versioning correctly.
2. .github/workflows/python-publish.yml:34
- Draft comment:
Consider adding a comment explaining why the 'Get release version' step was removed, if it was intentional. This will help future maintainers understand the change. - Reason this comment was not posted:
Confidence changes required:50%
The removal of the 'Get release version' step might affect the workflow if the release version is needed elsewhere. However, since the PR description doesn't mention any issues with this, it seems intentional.
Workflow ID: wflow_iLHZjyw8Qfe2v1T7
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
We should be able to speed up CI significantly with this
Important
Migrates CI from
poetry
touv
for faster execution and suppresses type checking errors ininstructor/client.py
.poetry
touv
inpyright.yml
,python-publish.yml
,ruff.yml
,test.yml
, andtest_docs.yml
.poetry.toml
.pyproject.toml
to useuv
configuration, replacing[tool.poetry]
with[project]
and[project.optional-dependencies]
.uv
requirements.# type: ignore[override]
comments ininstructor/client.py
forcreate
,create_partial
,create_iterable
, andcreate_with_completion
methods to suppress type checking errors.README.md
.This description was created by for 6188bb1. It will automatically update as commits are pushed.