release: 1.71.0#322
Conversation
WalkthroughThe PR includes minor version updates and documentation URL changes in files such as Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
|
|
LGTM 👍 |
7f01eba to
e64cb63
Compare
c2f5370 to
58266d0
Compare
|
🤖 Release is at https://github.com/julep-ai/python-sdk/releases/tag/v1.71.0 🌻 |
| connection_pool: object | NotGiven = NOT_GIVEN, | ||
| lang: Literal["en-US"] | NotGiven = NOT_GIVEN, | ||
| lang: str | NotGiven = NOT_GIVEN, |
There was a problem hiding this comment.
Relaxing lang type from Literal["en-US"] to str allows invalid language codes to be passed without validation, potentially causing runtime errors. Should validate against supported language codes.
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
| connection_pool: object | NotGiven = NOT_GIVEN, | |
| lang: Literal["en-US"] | NotGiven = NOT_GIVEN, | |
| lang: str | NotGiven = NOT_GIVEN, | |
| lang: Literal["en-US"] | NotGiven = NOT_GIVEN, |
| mmr_strength: float | ||
|
|
||
| mode: Literal["hybrid", "vector", "text"] | ||
| mode: str |
There was a problem hiding this comment.
The mode field in RecallOptionsHybridDocSearch should be constrained to Literal["hybrid"] since it's a hybrid-specific class. Current str type allows invalid modes.
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
| mode: str | |
| mode: Literal["hybrid"] |
Automated Release PR
1.71.0 (2025-02-28)
Full Changelog: v1.70.0...v1.71.0
Features
Chores
Documentation
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions