1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-10 02:51:07 +01:00

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 nix-community#3623
This commit is contained in:
stuart.warren 2025-08-13 15:11:58 +01:00 committed by Austin Horstman
parent d086c93de9
commit ecc7880e00

View file

@ -31,8 +31,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
System prompt to use. System prompt to use.
''; '';
model = defaultNullOpts.mkStr "gpt-4" '' model = defaultNullOpts.mkStr "gpt-4.1" ''
GPT model to use, 'gpt-3.5-turbo' or 'gpt-4'. GPT model to use, 'gpt-3.5-turbo' or 'gpt-4.1'.
''; '';
temperature = defaultNullOpts.mkProportion 0.1 '' temperature = defaultNullOpts.mkProportion 0.1 ''