Skip to content

Conversation

@ous50
Copy link
Contributor

@ous50 ous50 commented Nov 4, 2025

also Fix: defaultPaintingProvider type error in migrate 170 and 171

Documentation from Google: https://ai.google.dev/gemini-api/docs/code-execution#enable-code-execution

What this PR does

Before this PR: cannot use Gemini's codeExecution tool.

After this PR: can use Gemini's codeExecution tool.

Fixes #

Why we need it and why it was done in this way

The following tradeoffs were made: I have to make a new chunk block type specifically for rendering part.executableCode.code and part.codeExecutionResult.output

The following alternatives were considered:

Links to places where the discussion took place:

Breaking changes

If this PR introduces breaking changes, please describe the changes and the impact on users.

  1. Users would have found a new button when using Gemini models in inputBarTool.
  2. New chunk type introduced and may have some glich(specifically, repeat request) while alpha testing.

Special notes for your reviewer

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note


Fix: defaultPaintingProvider type error in migrate 170 and 171
@ous50 ous50 requested a review from 0xfullex as a code owner November 4, 2025 03:19
@ous50 ous50 marked this pull request as draft November 4, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant