Skip to content

fix(models): add Gemini 2.5 token limits - #1140

Merged
VinciGit00 merged 1 commit into
ScrapeGraphAI:pre/betafrom
amirshahzadhashmi7145:fix/1121-add-gemini-2.5-tokens
Sep 7, 2026
Merged

fix(models): add Gemini 2.5 token limits#1140
VinciGit00 merged 1 commit into
ScrapeGraphAI:pre/betafrom
amirshahzadhashmi7145:fix/1121-add-gemini-2.5-tokens

Conversation

@amirshahzadhashmi7145

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • uv run pytest tests/test_models_tokens.py::TestModelsTokens::test_gemini_2_5_models_are_registered -q
  • uv run black --check scrapegraphai/helpers/models_tokens.py tests/test_models_tokens.py
  • Confirm a graph with google_genai/gemini-2.5-flash and no explicit model_tokens gets model_token == 1000000 (not 8192)

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 30, 2026
@amirshahzadhashmi7145
amirshahzadhashmi7145 force-pushed the fix/1121-add-gemini-2.5-tokens branch from 9e02e87 to c21af20 Compare August 30, 2026 21:27
@VinciGit00
VinciGit00 merged commit 035087b into ScrapeGraphAI:pre/beta Sep 7, 2026
1 check passed
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

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

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.4-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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: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