分享一个 GitHub Copilot Student 继续使用 5.3 Codex 的方法

分享一个 GitHub Copilot Student 继续使用 5.3 Codex 的方法
分享一个 GitHub Copilot Student 继续使用 5.3 Codex 的方法

不知道有没有其他人发现过,总之是通过强行锁 Copilot CLI 的老版本来使用,实测现在 @github/[email protected] 仍然能用。

image

以及为了防止 Copilot 自动更新,我用 docker 隔离环境写了一个 devcontainer 的配置文件锁死了 Copilot 的自动更新目录,顺便持久化了容器内 Copilot 的数据

{
    "name": "node environment",
    "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
    "features": {
        "ghcr.io/devcontainers/features/node:1": {}
    },
    "mounts": [
        "source=${localWorkspaceFolder}/.devcontainer/.copilot,target=/home/vscode/.copilot,type=bind"
    ],
    "postCreateCommand": "mkdir -p ~/.copilot && npm install -g @github/[email protected] && sudo chmod -R 555 ~/.copilot/pkg/"
}

不过现在随着 6 月份 Copilot 全面转向按量计费后就没啥用了,今天测试了一下上图就这么简单一个请求竟然要花费 3 个 Credit,按这个量开 Pro+ 都不够用的,这下彻底真成路边了

1 个帖子 - 1 位参与者

阅读完整话题

来源: LinuxDo 最新话题查看原文