vscode中远程连接服务器后Copilot无法选择模型的问题解决

点击设置-extension kind-用户设置
修改为以下内容:

{
    "remote.SSH.remotePlatform": {
        "xx.xx.xx.xx": "linux"//替换成自己的远程IP地址
    },
    "remote.extensionKind": {
        "pub.name": [
            "ui"
        ],
        "GitHub.copilot": ["ui","workspace"],
        "GitHub.copilot-chat": ["ui","workspace"]
    },
    "github.copilot.nextEditSuggestions.enabled": true,
    "github.copilot.chat.agent.thinkingTool": true,
    "github.copilot.enable": {
        "*": true,
        "plaintext": false,
        "markdown": true
    },
    "github.copilot.advanced": {
        "debug.overrideEngine": "copilot-codex",
        "debug.testOverrideProxyUrl": "",
        "debug.overrideProxyUrl": ""
    }
}

再点击左上角文件-将文件夹添加到工作区

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐