Skip to content

Fix Resolution Search Payload 500, Grok Vision Fallbacks, and Mobile Layout Rounded Edges#739

Merged
ngoiyaeric merged 3 commits into
jules-16371461960223442218-00c8db21from
jules-254326844332553661-dca4ab9c
Jul 15, 2026
Merged

Fix Resolution Search Payload 500, Grok Vision Fallbacks, and Mobile Layout Rounded Edges#739
ngoiyaeric merged 3 commits into
jules-16371461960223442218-00c8db21from
jules-254326844332553661-dca4ab9c

Conversation

@ngoiyaeric

Copy link
Copy Markdown
Collaborator

This submission fixes the POST /index 500 error by sanitizing history payloads to remove raw base64 image strings before saving to the database, maps vision models correctly, improves timezone safety, and rounds visual edges and elements in the mobile layout. It also restores and unclips the missing Plus icon on mobile and styles empty screen cards elegantly.


PR created automatically by Jules for task 254326844332553661 started by @ngoiyaeric

…ded edges

Co-authored-by: ngoiyaeric <115367894+ngoiyaeric@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@qodo-code-review

Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
qcx Ready Ready Preview, Comment Jul 15, 2026 3:11am

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 56a442ed-4e8c-4ae3-b0f1-fb38eb438793

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jules-254326844332553661-dca4ab9c

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@CLAassistant

CLAassistant commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ google-labs-jules[bot]
❌ CJWTRUST
You have signed the CLA already but the status is still pending? Let us recheck it.

@charliecreates charliecreates Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Blocking findings

  1. app/actions.tsx:225-227 — image bytes are still persisted. The new sanitizedHistory replaces image parts only in the preceding history, but the resolution_search_result message still stores dataUrl, mapboxDataUrl, and googleDataUrl (raw data:*;base64,... strings). onSetAIState later serializes every message through saveChat, so this path still writes the screenshot payload to the database and can reproduce the reported POST /index 500. Keep the image bytes transient or persist object-storage references/metadata instead.

  2. lib/utils/index.ts:44 and :90 — unsupported vision model identifier breaks the intended fallback. With requireVision true, both resolutionSearch and researcher select grok-vision-beta. The official xAI endpoint catalog lists grok-2-vision-1212 as the vision language model, with aliases grok-2-vision and grok-2-vision-latest, not grok-vision-beta. The selected-model branch rethrows initialization errors, while the default branch only wraps provider construction, so an image request cannot reliably fall back to another provider. Use a supported vision ID and handle fallback around the actual request.

Existing head checks were inspected but not rerun: GitGuardian passed; Supabase Preview was skipped; the Vercel preview check is green while the Vercel – qcx commit status is currently failing; the CLA status is pending.

…ve build error

Co-authored-by: ngoiyaeric <115367894+ngoiyaeric@users.noreply.github.com>
@ngoiyaeric ngoiyaeric merged commit 19efd12 into jules-16371461960223442218-00c8db21 Jul 15, 2026
4 of 6 checks passed
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.

3 participants