Skip to content

Fix/block base64#223

Merged
VitjanZ merged 4 commits into
mainfrom
fix/block_base64
Jun 24, 2026
Merged

Fix/block base64#223
VitjanZ merged 4 commits into
mainfrom
fix/block_base64

Conversation

@VitjanZ

@VitjanZ VitjanZ commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Added a check for large base64 encoded blocks in the specs and reference files. If such a block is detected the render is finished and the user is informed of the reason. We do not support including these types of files currently and adding them as text-based reference files should also not be supported.

Requests that include larger base64 encoded blocks actually get rejected by Gemini API.

This pull request is to address the following issue: https://codeplain.sentry.io/issues/7551213541/?project=4510794036674560

@VitjanZ VitjanZ requested a review from pedjaradenkovic June 16, 2026 11:20
@VitjanZ VitjanZ force-pushed the fix/block_base64 branch from 9c922fe to f224352 Compare June 16, 2026 11:21

@pedjaradenkovic pedjaradenkovic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread plain2code_utils.py Outdated
@VitjanZ VitjanZ force-pushed the fix/block_base64 branch from f224352 to 59781ba Compare June 24, 2026 07:53
@VitjanZ VitjanZ merged commit 6d01af3 into main Jun 24, 2026
10 checks passed
@VitjanZ VitjanZ deleted the fix/block_base64 branch June 24, 2026 07:59
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.

2 participants