Skip to content

feat: upgrade MiniMax default model to M3#1080

Merged
VinciGit00 merged 1 commit into
ScrapeGraphAI:pre/betafrom
octo-patch:feature/upgrade-minimax-m3
Jun 1, 2026
Merged

feat: upgrade MiniMax default model to M3#1080
VinciGit00 merged 1 commit into
ScrapeGraphAI:pre/betafrom
octo-patch:feature/upgrade-minimax-m3

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

Summary

Upgrade MiniMax model configuration to include the latest M3 model as the new default.

Changes

  • Add MiniMax-M3 to the minimax model list (524,288 context window)
  • Set MiniMax-M3 as the new default (first entry in the dict, which is also what abstract_graph._create_llm picks up via models_tokens lookup)
  • Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed as legacy options
  • Remove deprecated older versions (MiniMax-M2.5, MiniMax-M2.5-highspeed, MiniMax-M2, MiniMax-M1, MiniMax-M1-40k)
  • Update tests/test_minimax_models.py to reflect the new default and the removed models

Why

MiniMax-M3 is the new flagship model with a 512K context window and 128K max output, available through the same OpenAI-compatible endpoint already wired into scrapegraphai/models/minimax.py. Bumping the default keeps users on the current generation while keeping M2.7 around for anyone pinned to it.

Testing

  • Re-ran the assertions in tests/test_minimax_models.py against the updated models_tokens dict — all 5 pass.
  • No changes to minimax wrapper, abstract_graph registration, or the docs/README mention (which is version-agnostic).

- Add MiniMax-M3 to the model selection list (524288 context window)
- Set MiniMax-M3 as the new default model (first in the dict)
- Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed as legacy options
- Remove deprecated older versions (M2.5 / M2.5-highspeed / M2 / M1 / M1-40k)
- Update unit tests to reflect the new default and removed models
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Jun 1, 2026
@VinciGit00 VinciGit00 merged commit 1b16c26 into ScrapeGraphAI:pre/beta Jun 1, 2026
1 of 2 checks passed
github-actions Bot pushed a commit that referenced this pull request Jun 1, 2026
## [2.2.0-beta.2](v2.2.0-beta.1...v2.2.0-beta.2) (2026-06-01)

### Features

* upgrade MiniMax default model to M3 ([#1080](#1080)) ([1b16c26](1b16c26))
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

🎉 This PR is included in version 2.2.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

VinciGit00 added a commit that referenced this pull request Jun 2, 2026
* feat: add OpenAI Batch API support for SmartScraperMultiGraph (#1036)

Add SmartScraperMultiBatchGraph that uses the OpenAI Batch API for LLM
calls, providing ~50% cost savings when real-time results aren't needed.

Key features:
- SmartScraperMultiBatchGraph: 3-phase pipeline (fetch/parse → batch
  submit → merge) that separates HTML fetching from LLM generation
- BatchGenerateAnswerNode: collects prompts from all URLs and submits
  them as a single OpenAI Batch API request
- utils/batch_api.py: helpers for creating, polling, and retrieving
  batch results with doc_id → URL mapping
- Per-document error handling: partial failures don't break the batch
- Configurable polling interval and max wait time
- OpenAI-only validation (rejects non-OpenAI providers gracefully)
- Results sorted by custom_id for consistent ordering
- 18 unit tests with 100% pass rate

Usage:
  graph = SmartScraperMultiBatchGraph(
      prompt='Extract key points',
      source=['https://url1.com', 'https://url2.com'],
      config={'llm': {'model': 'openai/gpt-4o-mini'}}
  )
  result = graph.run()

Closes #1036

* ci(release): 1.60.0-beta.2 [skip ci]

## [1.60.0-beta.2](v1.60.0-beta.1...v1.60.0-beta.2) (2026-02-24)

### Features

* add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))

* fix: update broken test imports to match current API

- Replace removed ScrapeGraph with SmartScraperGraph in scrape_graph_test.py
- Replace renamed convert_to_csv/convert_to_json with export_to_csv/export_to_json in xml_scraper_openai_test.py

* ci(release): 1.60.0-beta.3 [skip ci]

## [1.60.0-beta.3](v1.60.0-beta.2...v1.60.0-beta.3) (2026-03-15)

### Bug Fixes

* update broken test imports to match current API ([536e5ad](536e5ad))

* ci(release): 1.76.0-beta.1 [skip ci]

## [1.76.0-beta.1](v1.75.1...v1.76.0-beta.1) (2026-04-07)

### Features

* add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))

### Bug Fixes

* update broken test imports to match current API ([536e5ad](536e5ad))

### CI

* **release:** 1.60.0-beta.2 [skip ci] ([54d1473](54d1473)), closes [#1036](#1036)
* **release:** 1.60.0-beta.3 [skip ci] ([637c696](637c696))
* reduce GitHub Actions costs by ~85% on PRs ([403080a](403080a))

* ci(release): 2.1.0-beta.1 [skip ci]

## [2.1.0-beta.1](v2.0.0...v2.1.0-beta.1) (2026-04-19)

### Features

* add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))

### Bug Fixes

* update broken test imports to match current API ([536e5ad](536e5ad))

### CI

* **release:** 1.60.0-beta.2 [skip ci] ([54d1473](54d1473)), closes [#1036](#1036)
* **release:** 1.60.0-beta.3 [skip ci] ([637c696](637c696))
* **release:** 1.76.0-beta.1 [skip ci] ([35ec272](35ec272)), closes [#1036](#1036) [#1036](#1036)

* Add Italian README translation and fix outdated links (#1070)

* fix(batch): use langchain_core.prompts for PromptTemplate import

langchain 1.x removed langchain.prompts; import from langchain_core
to fix ModuleNotFoundError causing all test collection to fail.

* ci(release): 2.2.0-beta.1 [skip ci]

## [2.2.0-beta.1](v2.1.1...v2.2.0-beta.1) (2026-05-16)

### Features

* add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))

### Bug Fixes

* update broken test imports to match current API ([536e5ad](536e5ad))
* **batch:** use langchain_core.prompts for PromptTemplate import ([24127da](24127da))

### CI

* **release:** 1.60.0-beta.2 [skip ci] ([54d1473](54d1473)), closes [#1036](#1036)
* **release:** 1.60.0-beta.3 [skip ci] ([637c696](637c696))
* **release:** 1.76.0-beta.1 [skip ci] ([35ec272](35ec272)), closes [#1036](#1036) [#1036](#1036)
* **release:** 2.1.0-beta.1 [skip ci] ([a2ea9eb](a2ea9eb)), closes [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036)

* feat: upgrade MiniMax default model to M3 (#1080)

- Add MiniMax-M3 to the model selection list (524288 context window)
- Set MiniMax-M3 as the new default model (first in the dict)
- Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed as legacy options
- Remove deprecated older versions (M2.5 / M2.5-highspeed / M2 / M1 / M1-40k)
- Update unit tests to reflect the new default and removed models

* ci(release): 2.2.0-beta.2 [skip ci]

## [2.2.0-beta.2](v2.2.0-beta.1...v2.2.0-beta.2) (2026-06-01)

### Features

* upgrade MiniMax default model to M3 ([#1080](#1080)) ([1b16c26](1b16c26))

* ci(release): 2.2.0-beta.3 [skip ci]

## [2.2.0-beta.3](v2.2.0-beta.2...v2.2.0-beta.3) (2026-06-01)

### Bug Fixes

* **nodes:** update outdated ChatOllama import path to langchain_ollama ([#1076](#1076)) ([e6054cb](e6054cb))

### Docs

* 📚 Standardize and fix links across translated READMEs ([#1074](#1074)) ([458d36a](458d36a))

### CI

* **release:** 2.1.2 [skip ci] ([210c992](210c992)), closes [#1076](#1076) [#1074](#1074)

---------

Co-authored-by: MrAliHasan <mrali.hassan997@gmail.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: khadyottakale <khadyottakale@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Gabriele Maria Bellavia <gabriele.bellavia.m@gmail.com>
Co-authored-by: Octopus <liyuan851277048@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released on @dev size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants