Skip to content

Conversation

@lramos15
Copy link
Member

@lramos15 lramos15 commented Dec 5, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 5, 2025 18:00
@lramos15 lramos15 enabled auto-merge December 5, 2025 18:00
@lramos15 lramos15 self-assigned this Dec 5, 2025
Copilot finished reviewing on behalf of lramos15 December 5, 2025 18:01
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Dec 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the hardcoded fallback to the 'gpt-4.1' model when selecting a default chat endpoint. Instead of using await this._endpointProvider.getChatEndpoint('gpt-4.1') as a fallback, the code now dynamically finds the first endpoint with showInModelPicker enabled, making the model selection more flexible and avoiding dependencies on specific model names.

Key changes:

  • Replaced hardcoded 'gpt-4.1' fallback with dynamic selection based on showInModelPicker property
  • Improved fallback chain to be: CAPI default → first model picker-enabled endpoint → first available endpoint

@lramos15 lramos15 added this pull request to the merge queue Dec 5, 2025
Merged via the queue into main with commit 3f1ff97 Dec 5, 2025
22 checks passed
@lramos15 lramos15 deleted the lramos15/neat-eel branch December 5, 2025 18:23
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