-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: remove invalid inference_api parameter #4655
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
base: mergify/bp/release-0.3.x/pr-4616
Are you sure you want to change the base?
fix: remove invalid inference_api parameter #4655
Conversation
|
@are-ces please fix pre-commit |
b1b6852 to
5ab0582
Compare
|
unclear why the tests are not running |
.github/workflows/pre-commit.yml
Outdated
| UV_EXTRA_INDEX_URL: ${{ steps.client-config.outputs.uv-extra-index-url }} | ||
| UV_INDEX_STRATEGY: ${{ steps.client-config.outputs.uv-extra-index-url && 'unsafe-best-match' || '' }} | ||
| run: | | ||
| # Unset UV_INDEX_STRATEGY if empty to avoid uv errors |
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.
are these changes necessary?
franciscojavierarceo
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.
think you should only change tests/unit/core/test_vector_store_config_registration.py please
|
I initially added the UV_INDEX_STRATEGY changes to fix a CI error (see this failed run), but have now reverted them per @franciscojavierarceo 's feedback. |
mattf
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.
remove the changes to uv.lock
3ca06c1 to
82ae221
Compare
|
Done |
|
the lock in the release branch is outdated so we either need to update here or with another PR. |
|
Should I add the updated lock file again? |
Fixes the failing test by removing the invalid inference_api parameter from OpenAIVectorStoreMixin initialization.
This resolves the TypeError that was occurring in the test.