feat(llm-model-catalog): add MiniMax provider (MiniMax-M3, MiniMax-M2.7) - #4417
feat(llm-model-catalog): add MiniMax provider (MiniMax-M3, MiniMax-M2.7)#4417octo-patch wants to merge 1 commit into
Conversation
…iniMax-M2.7 Add catalog metadata and token pricing for MiniMax-M3 and MiniMax-M2.7 so runs on these models are matched for observability and cost attribution, then regenerate defaultPrices.ts and modelCatalog.ts from the JSON sources.
|
|
Hi @octo-patch, thanks for your interest in contributing! This project requires that pull request authors are vouched, and you are not in the list of vouched users. This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
WalkthroughAdds MiniMax-M2.7 and MiniMax-M3 to the model catalog with provider metadata, context limits, capabilities, feature flags, and resolution timestamps. Adds matching default pricing entries with Standard tiers, input/output prices, cache pricing fields, and effective start dates. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reason: The maintained LLM model catalog and pricing inputs had no MiniMax entries, so runs on MiniMax-M3 and MiniMax-M2.7 could not be matched for model observability or cost attribution.
What changed
Adds the MiniMax provider and its two current text models to
@internal/llm-model-catalog, then regenerates the runtime catalog modules from the JSON sources.Catalog metadata (
src/model-catalog.json):MiniMax-M3vision)extended_thinking)MiniMax-M2.7extended_thinking)Token pricing (
src/default-model-prices.json, USD per 1M tokens):MiniMax-M3MiniMax-M2.7Match patterns follow the existing convention and also accept a provider-prefixed id (e.g.
minimax/MiniMax-M3).Regenerated modules:
src/defaultPrices.tsandsrc/modelCatalog.tswere regenerated withnode scripts/generate.mjs(no manual edits).Checks
node scripts/generate.mjs— regenerated the two modules; the diff contains only the new entries.oxfmt --checkon both edited JSON source files — clean.tsc --noEmitovertypes.ts,defaultPrices.ts,modelCatalog.ts— passes (generated data conforms toDefaultModelDefinition/ModelCatalogEntry).