Skip to content

Remove hard-coded default model instances #269717

@isidorn

Description

@isidorn

We have quite some hard-coded "gpt-4.1" instances in our codebase

https://github.com/search?q=repo%3Amicrosoft%2Fvscode-copilot-chat+getChatEndpoint%28%27gpt-4.1%27%29%3B&type=code

Should we have a central place where we define a default client side model? CAPI already gives us a default service side model.

Once we have a central place then gpt-4.1 should be changed with gpt-5-mini (since no SKU has gpt-4.1 as default any more and we want to move as many workloads from it as possible).

@roblourens I am starting with you, as I saw quite some code areas that you own. But if you think someone else should do the cleanup feel free to assign back to me and we can find the right person.

fyi @joaomoreno

Metadata

Metadata

Assignees

Labels

debtCode quality issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions