Skip to content

fix: update MiniMax model metadata and endpoints - #1103

Merged
VinciGit00 merged 2 commits into
ScrapeGraphAI:mainfrom
octo-patch:octo/20260713-refresh-minimax-model-metadata-recvoLazlPWJjL-v2
Jul 20, 2026
Merged

fix: update MiniMax model metadata and endpoints#1103
VinciGit00 merged 2 commits into
ScrapeGraphAI:mainfrom
octo-patch:octo/20260713-refresh-minimax-model-metadata-recvoLazlPWJjL-v2

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Reason: add target provider/model to existing provider registry

Summary

  • Correct MiniMax-M3 and MiniMax-M2.7 context metadata.
  • Preserve MiniMax-M3 standard and priority pricing across both input-length tiers, including cache-read rates.
  • Respect regional base URL overrides and document both compatible API formats.
  • Route MiniMax usage accounting through the tier-aware callback.

This clean replacement is based on the latest main and supersedes #1101.

Test plan

  • .venv/bin/python -m pytest tests/test_minimax_models.py
  • The complete deterministic test list from .github/workflows/test-suite.yml (66 passed)
  • .venv/bin/ruff check on all changed Python files
  • .venv/bin/black --check on all changed Python files
  • Mock-transport request capture for every documented regional endpoint

Keep context limits, tiered costs, and regional endpoint configuration aligned with current provider documentation.
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 13, 2026

@VinciGit00 VinciGit00 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the file

@VinciGit00
VinciGit00 merged commit e5f8f2b into ScrapeGraphAI:main Jul 20, 2026
4 checks passed
@octo-patch

Copy link
Copy Markdown
Contributor Author

Thanks for the review. I removed the requested documentation file and pushed a new commit. The targeted test run was attempted; remaining failures are due to missing repository dependencies in this environment.

github-actions Bot pushed a commit that referenced this pull request Jul 20, 2026
## [2.1.6](v2.1.5...v2.1.6) (2026-07-20)

### Bug Fixes

* update MiniMax model metadata and endpoints ([#1103](#1103)) ([e5f8f2b](e5f8f2b))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.1.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

VinciGit00 added a commit that referenced this pull request Aug 19, 2026
Resolve the four conflicts that blocked #1128 (pre/beta -> main):

- scrapegraphai/helpers/models_tokens.py: keep main's MiniMax numbers
  (M3 1000000, M2.7/M2.7-highspeed 204800) from #1103, which corrects
  the values introduced by #1080 on pre/beta.
- tests/test_minimax_models.py: keep main's file — it asserts the
  corrected limits and adds the cost/endpoint fixtures and tests.
- pyproject.toml: keep the prerelease version 2.2.0b5; semantic-release
  bumps it on the next release from pre/beta.
- CHANGELOG.md: keep both histories, main's stable entries (2.1.3 ->
  2.1.7) above the beta entries, in date order. Also drop two orphan
  "=======" lines left over from older bad conflict resolutions.

Verified: the deterministic unit suites run by .github/workflows/test-suite.yml
pass (66 passed), plus tests/test_atlascloud_model.py and
tests/utils/output_parser_test.py (24 passed).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
github-actions Bot pushed a commit that referenced this pull request Aug 19, 2026
## [2.2.0-beta.6](v2.2.0-beta.5...v2.2.0-beta.6) (2026-08-19)

### Bug Fixes

* **graph:** expose when the 8192 token fallback was used ([470da9d](470da9d)), closes [#1121](#1121)
* lazy imports to prevent torchcodec FFmpeg DLL crash on Windows ([#1089](#1089)) ([#1092](#1092)) ([e5c2a42](e5c2a42))
* pop model_tokens so it is not forwarded to the model client ([#1100](#1100)) ([d2b970c](d2b970c))
* **search:** restore SearchGraph by migrating DuckDuckGo backend to ddgs ([#1083](#1083)) ([2139e37](2139e37)), closes [#1082](#1082) [#1082](#1082)
* update MiniMax model metadata and endpoints ([#1103](#1103)) ([e5f8f2b](e5f8f2b))

### Docs

* add AGENTS.md with contribution rules for AI agents ([3b2f986](3b2f986))
* **readme:** add Open Source vs Managed API comparison ([#1091](#1091)) ([ef3523b](ef3523b))
* swap Integrations infographic for new API banner; fix CTA links ([71ab440](71ab440))

### CI

* **release:** 2.1.3 [skip ci] ([cfb815f](cfb815f)), closes [#1082](#1082) [#1082](#1082)
* **release:** 2.1.4 [skip ci] ([7fc9c57](7fc9c57)), closes [#1089](#1089) [#1092](#1092)
* **release:** 2.1.5 [skip ci] ([c9e0bd0](c9e0bd0)), closes [#1100](#1100) [#1091](#1091) [#1095](#1095)
* **release:** 2.1.6 [skip ci] ([27d9d28](27d9d28)), closes [#1103](#1103)
* **release:** 2.1.7 [skip ci] ([ca112db](ca112db)), closes [#1121](#1121)
* run only deterministic unit suites in Test Suite workflow ([#1095](#1095)) ([037a42e](037a42e))
* run the two new deterministic unit suites ([23e3d06](23e3d06)), closes [#1104](#1104) [#1085](#1085)
@github-actions

Copy link
Copy Markdown

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions Bot pushed a commit that referenced this pull request Aug 19, 2026
## [2.2.0](v2.1.7...v2.2.0) (2026-08-19)

### Features

* add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))
* upgrade MiniMax default model to M3 ([#1080](#1080)) ([1b16c26](1b16c26))

### Bug Fixes

* lazy imports to prevent torchcodec FFmpeg DLL crash on Windows ([#1089](#1089)) ([2f55377](2f55377))
* **nodes:** tolerate doubled-brace JSON output from models like DeepSeek ([#1085](#1085)) ([aaa5d2c](aaa5d2c))
* update broken test imports to match current API ([536e5ad](536e5ad))
* **batch:** use langchain_core.prompts for PromptTemplate import ([24127da](24127da))

### Docs

* add AGENTS.md with contribution rules for AI agents ([3b2f986](3b2f986))

### 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)
* **release:** 2.2.0-beta.1 [skip ci] ([e7a75dc](e7a75dc)), closes [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036) [#1036](#1036)
* **release:** 2.2.0-beta.2 [skip ci] ([73d850c](73d850c)), closes [#1080](#1080)
* **release:** 2.2.0-beta.3 [skip ci] ([b528325](b528325)), closes [#1076](#1076) [#1074](#1074) [#1076](#1076) [#1074](#1074)
* **release:** 2.2.0-beta.4 [skip ci] ([861ab77](861ab77)), closes [#1085](#1085)
* **release:** 2.2.0-beta.5 [skip ci] ([87655f8](87655f8)), closes [#1089](#1089)
* **release:** 2.2.0-beta.6 [skip ci] ([cb8f9b5](cb8f9b5)), closes [#1121](#1121) [#1089](#1089) [#1092](#1092) [#1100](#1100) [#1082](#1082) [#1082](#1082) [#1103](#1103) [#1091](#1091) [#1082](#1082) [#1082](#1082) [#1089](#1089) [#1092](#1092) [#1100](#1100) [#1091](#1091) [#1095](#1095) [#1103](#1103) [#1121](#1121) [#1095](#1095) [#1104](#1104) [#1085](#1085)
* run the two new deterministic unit suites ([23e3d06](23e3d06)), closes [#1104](#1104) [#1085](#1085)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released on @dev released on @stable size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants