File tree Expand file tree Collapse file tree
lua/codecompanion/adapters/http/copilot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ return {
372372 type = " enum" ,
373373 desc = " ID of the model to use. See the model endpoint compatibility table for details on which models work with the Chat API." ,
374374 --- @type string | fun (): string
375- default = " gpt-4.1 " ,
375+ default = " gpt-5.4-mini " ,
376376 --- @type fun ( self : CodeCompanion.HTTPAdapter , opts ?: table ): table
377377 choices = function (self , opts )
378378 opts = opts or {}
@@ -381,7 +381,7 @@ return {
381381 local force = opts .async == false
382382 local fetched = token .fetch ({ force = force })
383383 if not fetched or not fetched .copilot_token then
384- return { [" gpt-4.1 " ] = { opts = {} } }
384+ return { [" gpt-5.4-mini " ] = { opts = {} } }
385385 end
386386 return get_models .choices (self , { token = fetched , async = opts .async })
387387 end ,
You can’t perform that action at this time.
0 commit comments