Skip to content

Fix default OpenAI model ID for resolution search - #766

Open
ngoiyaeric wants to merge 1 commit into
mainfrom
fix/openai-resolution-search-model-id-15929876514078722655
Open

Fix default OpenAI model ID for resolution search#766
ngoiyaeric wants to merge 1 commit into
mainfrom
fix/openai-resolution-search-model-id-15929876514078722655

Conversation

@ngoiyaeric

Copy link
Copy Markdown
Collaborator

Fix issue where OpenAI provider in getModel fallback attempted to instantiate non-existent model 'gpt-5.6-terra', causing resolution search and default OpenAI calls to fail.


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

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.

@vercel

vercel Bot commented Aug 29, 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 Aug 29, 2026 5:57pm

@CLAassistant

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 sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 22 seconds.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 25f9b0dd-efab-4458-9dad-305208c35f64

📥 Commits

Reviewing files that changed from the base of the PR and between fa0a949 and 74d52d4.

📒 Files selected for processing (1)
  • lib/utils/index.ts

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.

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Summary by Qodo

Fix fallback OpenAI model for resolution search

🐞 Bug fix 🕐 Less than 5 minutes

Grey Divider

AI Description

• Replaces the invalid fallback OpenAI model with the supported gpt-4o model.
• Restores resolution search and default OpenAI requests when no model is selected.
High-Level Assessment

Using gpt-4o is the appropriate minimal fix because the same supported model is already used by the explicit OpenAI selection path. More elaborate provider or configuration changes are unnecessary for this defect.

Files changed (1) +1 / -1

Bug fix (1) +1 / -1
index.tsCorrect the default OpenAI fallback model +1/-1

Correct the default OpenAI fallback model

• Changes the OpenAI fallback in 'getModel' from the nonexistent 'gpt-5.6-terra' identifier to 'gpt-4o'. This restores default model initialization for resolution search and other callers without a selected model.

lib/utils/index.ts

@qodo-code-review

Copy link
Copy Markdown
Contributor

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can group findings by type and pick your Finding display, from Minimal to Full

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

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