feat(providers): implement MistralProvider for Mistral API integration #10132

Open
opened 2026-04-17 03:55:19 +00:00 by HAL9000 · 0 comments
Owner

Background

Mistral AI offers competitive open-weight models with strong code generation capabilities. Adding Mistral provider support gives users access to Mistral Large, Mistral Medium, and Codestral models, broadening the platform's LLM ecosystem and enabling European data residency options.

Acceptance Criteria

  • MistralProvider class implemented conforming to the provider protocol
  • Supports Mistral Large, Mistral Medium, and Codestral model variants
  • Streaming responses supported via Mistral streaming API
  • Tool use (function calling) supported
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(providers): implement MistralProvider for Mistral API integration
  • Branch: feature/v3.6.0/mistral-provider
  • Milestone: v3.6.0
  • Ref: #5174 EPIC: Additional LLM Provider Integrations — Gemini, Mistral, Local Models (v3.6.0)

Subtasks

  • Define MistralProvider class implementing provider protocol
  • Implement authentication via MISTRAL_API_KEY environment variable
  • Implement streaming chat completion with Mistral API
  • Implement tool/function calling support
  • Write unit tests with mocked Mistral API responses

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background Mistral AI offers competitive open-weight models with strong code generation capabilities. Adding Mistral provider support gives users access to Mistral Large, Mistral Medium, and Codestral models, broadening the platform's LLM ecosystem and enabling European data residency options. ## Acceptance Criteria - [ ] `MistralProvider` class implemented conforming to the provider protocol - [ ] Supports Mistral Large, Mistral Medium, and Codestral model variants - [ ] Streaming responses supported via Mistral streaming API - [ ] Tool use (function calling) supported - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(providers): implement MistralProvider for Mistral API integration` - **Branch**: `feature/v3.6.0/mistral-provider` - **Milestone**: v3.6.0 - **Ref**: #5174 EPIC: Additional LLM Provider Integrations — Gemini, Mistral, Local Models (v3.6.0) ## Subtasks - [ ] Define `MistralProvider` class implementing provider protocol - [ ] Implement authentication via `MISTRAL_API_KEY` environment variable - [ ] Implement streaming chat completion with Mistral API - [ ] Implement tool/function calling support - [ ] Write unit tests with mocked Mistral API responses ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10132
No description provided.