fix(copilot-chat): fix default model to one supported
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled

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 ''