File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,13 +257,6 @@ function Client:models()
257257 end
258258 end
259259
260- out [' auto' ] = {
261- id = ' auto' ,
262- name = ' Auto selects the best model for your request based on capacity and performance. Auto is given a 10% discount.' ,
263- provider = ' copilot' ,
264- description = ' Auto selects the best model for your request based on capacity and performance. Auto is given a 10% discount.' ,
265- }
266-
267260 log .debug (' Fetched models:' , # vim .tbl_keys (out ))
268261 return out
269262end
Original file line number Diff line number Diff line change @@ -638,6 +638,14 @@ M.copilot = {
638638 end
639639 end
640640
641+ -- auto model selector
642+ table.insert (models , {
643+ id = ' auto' ,
644+ name = ' Auto (Copilot)' ,
645+ description = ' Auto selects the best model for your request.' ,
646+ provider = ' copilot' ,
647+ capabilities = { limits = {} },
648+ })
641649 return models
642650 end ,
643651
You can’t perform that action at this time.
0 commit comments