Uh oh!
There was an error while loading. Please reload this page.
📝 CodeRabbit Chat: Implement requested code changes - #612
📝 CodeRabbit Chat: Implement requested code changes#612coderabbitai[bot] wants to merge 2 commits into
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Important Review skippedThis PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
ngoiyaeric
commented
May 13, 2026
@coderabbitai make azure the main model |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainLet me explore the codebase to understand the current model configuration. 🏁 Script executed: Length of output: 6799
// Default behavior: Azure -> Gemini -> Grok -> Bedrock -> OpenAIif(azureEndpoint&&azureApiKey){constazureOpenai=createOpenAI({baseURL: azureEndpoint,apiKey: azureApiKey,compatibility: 'compatible',});try{returnazureOpenai(azureDeploymentName);}catch(error){console.warn('Azure OpenAI API unavailable, falling back to next provider:',error);}}if(gemini3ProApiKey){constgoogle=createGoogleGenerativeAI({apiKey: gemini3ProApiKey,});try{returngoogle('gemini-3.1-pro-preview');}catch(error){console.warn('Gemini 3.1 Pro API unavailable, falling back to next provider:',error);}}if(xaiApiKey){constxai=createXai({apiKey: xaiApiKey,baseURL: 'https://api.x.ai/v1',});try{returnxai('grok-4-fast-non-reasoning');}catch(error){console.warn('xAI API unavailable, falling back to next provider:');}}if(awsAccessKeyId&&awsSecretAccessKey){constbedrock=createAmazonBedrock({bedrockOptions: {region: awsRegion,credentials: {accessKeyId: awsAccessKeyId,secretAccessKey: awsSecretAccessKey,},},});constmodel=bedrock(bedrockModelId,{additionalModelRequestFields: {top_k: 350},});returnmodel;}constopenai=createOpenAI({apiKey: openaiApiKey,});returnopenai('gpt-4o');The key change is the comment and order — Azure is now checked first in the default fallback chain ( Would you like me to implement this change directly via a plan? |
ngoiyaeric
commented
May 13, 2026
@coderabbitai plan impelement that |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainTask: Make Azure the main/first model in the fallback chain
🏁 Script executed: Length of output: 5406
Task: Make Azure the first model in the default fallback chain
Failed to handle agent chat message. Please try again. |
ngoiyaeric
commented
May 14, 2026
@coderabbitai can you fix the model picker such that the azure endpoint is functional |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainLet me read the current state of the relevant files first. 🏁 Script executed: Length of output: 4732 Let me read the model picker component and related files. 🏁 Script executed: Length of output: 6757 🏁 Script executed: Length of output: 5768 🏁 Script executed: Length of output: 12642 🏁 Script executed: Length of output: 7006 🏁 Script executed: Length of output: 3729
Task: Fix Azure endpoint in the model picker
Failed to handle agent chat message. Please try again. |
Code changes was requested by @ngoiyaeric.
The following files were modified:
.env.local.examplebun.locklib/utils/index.tspackage.json