Skip to content

feat: add Mistral AI plugin with LLM support#1226

Open
kevinkeibel1 wants to merge 7 commits intolivekit:mainfrom
kevinkeibel1:feat/mistral-plugin
Open

feat: add Mistral AI plugin with LLM support#1226
kevinkeibel1 wants to merge 7 commits intolivekit:mainfrom
kevinkeibel1:feat/mistral-plugin

Conversation

@kevinkeibel1
Copy link
Copy Markdown

Description

Changes Made

  • Implements LLM and LLMStream using the official @mistralai/mistralai SDK
  • Supports streaming, tool calling, parallel tool calls, and tool choice
  • Handles all ChatContext item types: messages, function calls, outputs
  • Includes test suite using shared @livekit/agents-plugins-test helpers
  • Adds MistralChatModels type for all supported model identifiers

Pre-Review Checklist

  • Build passes: All builds (lint, typecheck, tests) pass locally
  • AI-generated code reviewed: Removed unnecessary comments and ensured code quality
  • Changes explained: All changes are properly documented and justified above
  • Scope appropriate: All changes relate to the PR title, or explanations provided for why they're included
  • Video demo: A small video demo showing changes works as expected and did not break any existing functionality using Agent Playground (if applicable)

Testing

  • Automated tests added/updated (if applicable)
  • All tests pass
  • Make sure both restaurant_agent.ts and realtime_agent.ts work properly (for major changes)

Additional Notes


Note to reviewers: Please ensure the pre-review checklist is completed before starting your review.

restaurant_agent.ts and realtime_agent.ts not tested because no changes to the core code were applied.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: 6609f67

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 23 packages
Name Type
@livekit/agents-plugin-mistral Major
@livekit/agents Major
@livekit/agents-plugin-anam Major
@livekit/agents-plugin-baseten Major
@livekit/agents-plugin-bey Major
@livekit/agents-plugin-cartesia Major
@livekit/agents-plugin-deepgram Major
@livekit/agents-plugin-elevenlabs Major
@livekit/agents-plugin-google Major
@livekit/agents-plugin-hedra Major
@livekit/agents-plugin-inworld Major
@livekit/agents-plugin-lemonslice Major
@livekit/agents-plugin-livekit Major
@livekit/agents-plugin-neuphonic Major
@livekit/agents-plugin-openai Major
@livekit/agents-plugin-phonic Major
@livekit/agents-plugin-resemble Major
@livekit/agents-plugin-rime Major
@livekit/agents-plugin-sarvam Major
@livekit/agents-plugin-silero Major
@livekit/agents-plugin-trugen Major
@livekit/agents-plugin-xai Major
@livekit/agents-plugins-test Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 10, 2026

CLA assistant check
All committers have signed the CLA.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@kevinkeibel1 kevinkeibel1 force-pushed the feat/mistral-plugin branch 3 times, most recently from 201898d to 5c0b12b Compare April 10, 2026 12:53
devin-ai-integration[bot]

This comment was marked as resolved.

@kevinkeibel1 kevinkeibel1 force-pushed the feat/mistral-plugin branch 3 times, most recently from 6bfd684 to 57d43f6 Compare April 10, 2026 14:46
devin-ai-integration[bot]

This comment was marked as resolved.

- Implements LLM and LLMStream using the official @mistralai/mistralai SDK
- Supports streaming, tool calling, parallel tool calls, and tool choice
- Handles all ChatContext item types: messages, function calls, outputs
- Includes test suite using shared @livekit/agents-plugins-test helpers
- Adds MistralChatModels type for all supported model identifiers
devin-ai-integration[bot]

This comment was marked as resolved.

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.

3 participants