-
Notifications
You must be signed in to change notification settings - Fork 50
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
Open
skylarbpayne
wants to merge
4
commits into
Mirascope:release/v1.10
Choose a base branch
from
skylarbpayne:bump-mistral
base: release/v1.10
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v1.5 #531 +/- ##
================================================
- Coverage 100.00% 99.95% -0.05%
================================================
Files 350 350
Lines 10471 10482 +11
================================================
+ Hits 10471 10477 +6
- Misses 0 5 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
skylarbpayne
force-pushed
the
bump-mistral
branch
from
October 29, 2024 20:41
f464127
to
63bcfb8
Compare
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