Skip to content

Commit ecc7880

Browse files
stuart-warrenkhaneliman
authored andcommitted
fix(copilot-chat): fix default model to one supported
it seems that gpt-4 is no longer supported https://docs.github.com/en/copilot/reference/ai-models/supported-models using gpt-4 throws 400 Bad Request errors fixes #3623
1 parent d086c93 commit ecc7880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/by-name/copilot-chat/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
3131
System prompt to use.
3232
'';
3333

34-
model = defaultNullOpts.mkStr "gpt-4" ''
35-
GPT model to use, 'gpt-3.5-turbo' or 'gpt-4'.
34+
model = defaultNullOpts.mkStr "gpt-4.1" ''
35+
GPT model to use, 'gpt-3.5-turbo' or 'gpt-4.1'.
3636
'';
3737

3838
temperature = defaultNullOpts.mkProportion 0.1 ''

0 commit comments

Comments
 (0)