CoCopilot VSCode github.copilot-1.200.0 上车失败解决办法

今天刚刚上了个车,按照始皇的安装 cocopilot,
image
发现在 github.copilot-1.200.0 使用时走的还是

2024-06-12 13:52:18.198 [info] [fetchCompletions] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 297 ms
2024-06-12 13:52:19.692 [info] [fetcher] Using Helix fetcher.

心想可能是 copilot 插件升级导致这个配置无效了

"github-enterprise.uri": "https://cocopilot.org",

于是打开

C:\Users\WIN10\.vscode\extensions\github.copilot-1.200.0\dist\extension.js

替换

copilot-proxy.githubusercontent.com

cocopilot.org

就可以了

2 个赞

现在不安装coco了,直接改settings

恭喜恭喜 车速可还行

怎么改啊 :crying_cat_face:

"github-enterprise.uri": "https://cocopilot.org",
  "github.copilot.advanced": {
    "authProvider": "github-enterprise",
    "debug.overrideChatEngine": "gpt-4",
    "debug.overrideCAPIUrl": "https://cocopilot.org"
  },

在设置中搜索github.copilot.advanced值,点击编辑,然后按照下面的信息进行更改即可

  • VSCode 更改 settings.json 设置(最好卸载 cocopilot 插件)。
    "github.copilot.advanced": {
        "debug.overrideCAPIUrl": "https://cocopilot.org",
        "debug.overrideProxyUrl": "https://cocopilot.org",
        "debug.chatOverrideProxyUrl": "https://cocopilot.org/chat/completions",
        "authProvider": "github-enterprise"
    },
    "github-enterprise.uri": "https://cocopilot.org",

https://linux.do/t/topic/94939

阅读始皇的这篇帖子就好

直接用copilot呀

谢谢 刚刚自己测出来了 跟你给的一样

cocopilet还稳吗?

cocopilot 修复版,适用于最新的 copilot
解压后安装
cocopilot-0.0.6.vsix.zip (20.3 KB)

PixPin_2024-06-12_14-50-58

2 个赞

感谢佬,弄了两天了。vscode一直用不了。这个插件就可以

From 快问快答 to 开发调优