build(deps): bump @google/genai from 1.52.0 to 2.6.0#205
build(deps): bump @google/genai from 1.52.0 to 2.6.0#205dependabot[bot] wants to merge 1 commit into
Conversation
Greptile SummaryThis is an automated dependency bump of
Confidence Score: 5/5Safe to merge — the only changed file in production code is the package version; all API calls made by the codebase are unaffected by the v2 major version bump. The v2.0.0 breaking changes apply exclusively to the Interactions API (SSE events and response_format deprecation), which this codebase never uses. Every import and API call in the Gemini provider (generateContent, FinishReason, ThinkingLevel, ThinkingConfig, response.text) is unchanged in v2.x, so there is no regression risk from this upgrade. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["GeminiProvider.callModel()"] --> B["client.models.generateContent()"]
B --> C{"response.candidates[0].finishReason"}
C -->|"SAFETY"| D["Throw ErodeError\n(PROVIDER_SAFETY_BLOCK)"]
C -->|"MAX_TOKENS"| E["Throw ErodeError\n(PROVIDER_INVALID_RESPONSE)"]
C -->|"other"| F{"response.text?"}
F -->|"empty"| G["Throw ErodeError\n(PROVIDER_INVALID_RESPONSE)"]
F -->|"present"| H["Return text"]
subgraph ThinkingConfig
I["isGemini25Model?"] -->|yes| J["thinkingBudget: -1 or 0"]
I -->|no| K["isGemini3Model?"]
K -->|yes| L["thinkingLevel: HIGH/MEDIUM/LOW"]
K -->|no| M["empty config {}"]
end
A --> ThinkingConfig
ThinkingConfig --> B
Reviews (5): Last reviewed commit: "build(deps): bump @google/genai from 1.5..." | Re-trigger Greptile |
01350c0 to
d20f207
Compare
Bumps [@google/genai](https://github.com/googleapis/js-genai) from 1.52.0 to 2.6.0. - [Release notes](https://github.com/googleapis/js-genai/releases) - [Changelog](https://github.com/googleapis/js-genai/blob/main/CHANGELOG.md) - [Commits](googleapis/js-genai@v1.52.0...v2.6.0) --- updated-dependencies: - dependency-name: "@google/genai" dependency-version: 2.6.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
d20f207 to
6c1e0fc
Compare
Bumps @google/genai from 1.52.0 to 2.6.0.
Release notes
Sourced from @google/genai's releases.
... (truncated)
Changelog
Sourced from @google/genai's changelog.
... (truncated)
Commits
a631549chore(main): release 2.6.0 (#1623)f780f3cfeat: addenable_prompt_injection_detectionfor Computer Use feature for th...b78eeeefeat: add new fields1e97bd0feat: Add budget_exceeded status2cb1814chore(main): release 2.5.0 (#1616)f06e3a2chore: update comment in BatchJobOutputInfo to unblock javadoc generationfcf26e3feat: Add Gemini 3.5 Flash model to optionsb252753chore: Cleanupdbe4484chore(main): release 2.4.0 (#1604)b0d9d2bfeat: support Agent and Environment APIs.