With httpx2 2.16.1 installed, import mistralai.client raised SyntaxError: Forward reference must be an expression, so Agno's MistralChat and MistralEmbedder failed before their first request. The mistral extra now excludes httpx2 2.16.1, and 2.16.2 carries the upstream fix.
See the cookbook, and learn more about Mistral models in the documentation.
Frequently asked questions
Importing MistralChat or MistralEmbedder failed inside mistralai with SyntaxError: Forward reference must be an expression, because httpx2 2.16.1 turned QueryParamTypes into a string type alias. On this release the resolver refuses httpx2 2.16.1 next to the mistral extra and picks 2.16.2, which fixes it upstream.



