Skip to content

chore: remove deprecated Mistral presets#504

Merged
c121914yu merged 1 commit into
labring:mainfrom
c121914yu:automation/plugin-model-update-20260713-110202
Jul 13, 2026
Merged

chore: remove deprecated Mistral presets#504
c121914yu merged 1 commit into
labring:mainfrom
c121914yu:automation/plugin-model-update-20260713-110202

Conversation

@c121914yu

Copy link
Copy Markdown
Contributor

Summary

  • Remove 18 MistralAI presets that the official Mistral model overview lists in the legacy/deprecated table.
  • Keep current Mistral Large 3, Small 4, Medium 3.5, Ministral 3, and existing latest aliases where no explicit removal evidence was found.
  • MistralAI inventory now has 10 llm presets.

Evidence

  • Official Mistral model overview: https://docs.mistral.ai/models/overview
  • Source hint check was run for registered providers; Doubao timed out, SparkDesk is access-limited, and Moka/Other have no source hints.

Validation

  • PASS: node .codex/skills/model-provider-updater/scripts/model_provider_presets.mjs apply-plan --plan /tmp/mistral-provider-plan-20260713.json --dry-run
  • PASS: node .codex/skills/model-provider-updater/scripts/model_provider_presets.mjs inventory --provider MistralAI
  • PASS: pnpm exec eslint packages/infrastructure/src/static-data/models/provider/MistralAI/index.ts
  • PASS: pnpm exec tsx import assertion for MistralAI provider/count
  • PASS: git diff --check
  • FAIL, existing main issue: bun run test fails in sdk/factory/src/tool-factory.test.ts:329 because installed zod v3 lacks .meta(); 38 files passed, 1 failed.
  • FAIL, existing main issue: bun tsc --noEmit fails in sdk/factory zod metadata/toJSONSchema errors and the existing PluginChannelStreamSource/StreamData mismatch.

Copilot AI 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.

Pull request overview

This PR updates the static model inventory for the MistralAI provider by removing presets that are listed as legacy/deprecated in Mistral’s official model overview, leaving a smaller, current set of supported presets.

Changes:

  • Removed 18 deprecated/legacy MistralAI LLM presets from the provider’s static inventory.
  • Retained current “latest” aliases and the currently-supported model families (Large/Small/Medium/Ministral) reflected in the remaining 10 presets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c121914yu
c121914yu merged commit 8799bd6 into labring:main Jul 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants