Skip to content

Commit

Permalink
Fixed up Mistral bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Sep 8, 2024
1 parent ad7482b commit 754f707
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 471 deletions.
2 changes: 1 addition & 1 deletion instructor/client_mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def from_mistral(
}, "Mode be one of {instructor.Mode.MISTRAL_TOOLS}"

assert isinstance(
client, (Mistral)
client, Mistral
), "Client must be an instance of mistralai.Mistral"

if not use_async:
Expand Down
Loading

0 comments on commit 754f707

Please sign in to comment.