Skip to content

Conversation

@saylesss88
Copy link
Contributor

Add: copilot completionModel setting for changing models declaratively

Add: The following required arguments to vscode/default.nix:

# vscode/default.nix
{
  pkgs,
  config,
  lib,
  ...
}: {

Add: The following to userSettings in vscode/default.nix:

      userSettings = {
        "vim.handleKeys" = {
          "<C-p>" = false;
          "<C-f>" = false;
          "<C-n>" = false;
          "<C-b>" = false;
        };
        # "github.copilot.advanced.completionModel" = "gpt-4";
      };

NOTE: It is currently commented out, choose your desired completion model and rebuild. If you get errors related to ~/.config/Code delete the Code directory and rebuild. It will be repopulated on rebuild.

"<C-n>" = false;
"<C-b>" = false;
};
# "github.copilot.advanced.completionModel" = "gpt-4";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm down to uncomment this. I believe that the default model is in fact gpt-4, but I like having this here so I know where to change it.

Also we'll need to figure out how to configure roo-code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the "roo-cline" was roo-code. When I launch VSCode from my intel it brings up the AI settings and bookmarks right away. I am pretty unfamiliar with VSCode though so you'll have to let me know what you mean. Do you want me to create a roo-cline derivation like I was talking about?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah no worries. Take a look at this settings UI on my Windows (non-nixOS machine):

image

However for some reason, on my NixOS machine the Language Model drop down is not rendering... I wonder if this is just a Roo Code issue, and has nothing to do with my NixOS machine. I can provide a photo of the NixOS screen tomorrow.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-07-16 at 9 34 43 AM

Here's that same photo on my NixOS. See how we do not have the Language Model drop down? @saylesss88

@saylesss88
Copy link
Contributor Author

Ok, I see what you're talking about. I discovered that roo-cline is now in Nixpkgs, I added a PR with the official Nixpkgs version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants