Skip to content

feat(vertexai): add support for mistral models#265

Draft
CorieW wants to merge 7 commits into
genkit-ai:mainfrom
invertase:vertexai-add-mistral-support
Draft

feat(vertexai): add support for mistral models#265
CorieW wants to merge 7 commits into
genkit-ai:mainfrom
invertase:vertexai-add-mistral-support

Conversation

@CorieW

@CorieW CorieW commented Apr 28, 2026

Copy link
Copy Markdown
Member

Add support for Mistral models in VertexAI plugin.

Testing

Screenshot 2026-04-27 at 17 26 12 | Screenshot 2026-04-27 at 17 26 59 | Screenshot 2026-04-27 at 17 37 45

Note: Supports more params now than in the screenshots.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for Mistral models within the Vertex AI plugin. Key changes include the implementation of a Mistral-specific API client, request/response mapping logic, and configuration options (MistralOptions). The VertexAiPluginImpl was updated to dynamically list and resolve Mistral models from the mistralai publisher, and a new helper was added to parse publisher model names. Additionally, unit tests were included to verify the correct endpoint construction and model discovery. I have no feedback to provide.

Comment thread packages/genkit_vertexai/lib/src/mistral.dart
Comment thread packages/genkit_vertexai/test/mistral_test.dart
@cabljac cabljac self-requested a review May 29, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants