-
Notifications
You must be signed in to change notification settings - Fork 51
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
Bump mistralai to > 1.0.0 in preparation for latest models such as Pixtral #531
Merged
willbakst
merged 20 commits into
Mirascope:release/v1.10
from
skylarbpayne:bump-mistral
Nov 21, 2024
Merged
Bump mistralai to > 1.0.0 in preparation for latest models such as Pixtral #531
willbakst
merged 20 commits into
Mirascope:release/v1.10
from
skylarbpayne:bump-mistral
Nov 21, 2024
Conversation
This file contains 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
willbakst
reviewed
Sep 30, 2024
examples/learn/response_models/basic_usage/mistral/official_sdk.py
Outdated
Show resolved
Hide resolved
skylarbpayne
force-pushed
the
bump-mistral
branch
2 times, most recently
from
October 7, 2024 21:23
861f53c
to
37ecfd3
Compare
willbakst
reviewed
Oct 7, 2024
examples/learn/calls/custom_client/mistral/base_message_param.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/v1.10 #531 +/- ##
===============================================
Coverage 100.00% 100.00%
===============================================
Files 398 398
Lines 13220 13279 +59
===============================================
+ Hits 13220 13279 +59
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
skylarbpayne
force-pushed
the
bump-mistral
branch
from
October 29, 2024 20:41
f464127
to
63bcfb8
Compare
willbakst
changed the base branch from
release/v1.10
to
mistral-vision-support
November 18, 2024 01:51
willbakst
changed the base branch from
mistral-vision-support
to
release/v1.10
November 18, 2024 01:52
willbakst
reviewed
Nov 20, 2024
examples/learn/async/custom_client/decorator/mistral/messages.py
Outdated
Show resolved
Hide resolved
willbakst
reviewed
Nov 21, 2024
examples/learn/async/custom_client/decorator/mistral/base_message_param.py
Show resolved
Hide resolved
willbakst
approved these changes
Nov 21, 2024
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.
Related to #521
Why?
Mistral has released a vision model, Pixtral. Supporting vision for Mistral in mirascope requires bumping up the version to the latest major version to take advantage of image capabilities.
What?
Migrates Mistral usage to v1.0.0, according to the migration guide.
The major changes are that the separate sync/async clients were merged into a single one with 4 separate functions under a
chat
attribute:complete
,stream
,complete_async
,stream_async
-- with some corresponding changes to the response formats.Additionally, several enums were replaced with
Literal
types.Additional Context
I have filed a bug related to support of the TypedDict versions of the message types: mistralai/client-python#149
Testing