mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-15 15:12:36 +02:00
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
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:
parent
d086c93de9
commit
ecc7880e00
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
System prompt to use.
|
||||
'';
|
||||
|
||||
model = defaultNullOpts.mkStr "gpt-4" ''
|
||||
GPT model to use, 'gpt-3.5-turbo' or 'gpt-4'.
|
||||
model = defaultNullOpts.mkStr "gpt-4.1" ''
|
||||
GPT model to use, 'gpt-3.5-turbo' or 'gpt-4.1'.
|
||||
'';
|
||||
|
||||
temperature = defaultNullOpts.mkProportion 0.1 ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue