V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lucasj
V2EX  ›  程序员

copilot-gpt4-service 不能用了

  •  
  •   lucasj · 37 天前 · 3060 次点击
    这是一个创建于 37 天前的主题,其中的信息可能已经有所发展或是发生改变。
    30 条回复    2024-04-17 18:27:50 +08:00
    you222
        1
    you222  
       37 天前
    lstz
        2
    lstz  
       37 天前 via Android
    很遗憾听到这个消息
    noahlias
        3
    noahlias  
       37 天前   ❤️ 3
    早就预料到了 人家赚钱的东西 肯定有人用来转发薅羊毛了
    这种涉及利益的东西 小范围玩玩就行 下次可能就是封你号
    bkmi
        4
    bkmi  
       37 天前 via Android
    有人有存档不
    hankli
        5
    hankli  
       37 天前
    没封号就不错了, 哈哈哈哈
    skyqiao
        6
    skyqiao  
       37 天前   ❤️ 1
    我记得作者在 v 里,有联系方式没
    Twelveeee
        7
    Twelveeee  
       37 天前
    @you222
    我自己搭起来,已经用到现在了,还没有封号。一个月省了接近 20 刀,感谢。

    上 Github Trending 又被封了 repo ,挺好笑的
    bigtear
        8
    bigtear  
       37 天前
    you222
        9
    you222  
       37 天前
    https://gitlab.com/aaamoon/copilot-gpt4-service
    在 Gitlab 留了一份代码存档,但是大概率后续不会更新和维护了
    bigtear
        10
    bigtear  
       37 天前   ❤️ 1
    @skyqiao 图裂了,
    https://github.com/aaamoon/react1s/issues/12

    作者原话:
    ---
    https://gitlab.com/aaamoon/copilot-gpt4-service

    在 Gitlab 有一份代码存档,但是大概率后续不会更新和维护了。
    There is a code archive in Gitlab, but it is likely that it will not be updated and maintained in the future.
    ---
    zhouquanbest
        11
    zhouquanbest  
       36 天前
    是时候上到国内仓库了
    gitee.com
    skyqiao
        12
    skyqiao  
       36 天前
    @bigtear #10 谢谢
    IwfWcf
        13
    IwfWcf  
       36 天前
    只是项目不再维护,目前还是可以继续用的
    hefengwqz
        14
    hefengwqz  
       36 天前
    @Twelveeee 不需要 gpt4 的 api key 吗,从哪里调的 api 呢?
    mmdsun
        15
    mmdsun  
       36 天前
    @hefengwqz 你抓包一下 vs code chat 就知道了,Github Copilot 调用也是/v1/chat/completions 接口, 本身就可以用 GPT-4 ,而且价格才 10 美元包月,比 GPT-4 低很多的。只不过有 ban 号的风险。
    zzsnull
        16
    zzsnull  
       36 天前
    这个步骤,获取 Copilot CLI token ,
    # 该脚本会自动安装 Github Copilot CLI 并通过授权获取 Github Copilot Plugin Token
    bash -c "$(curl -fsSL https://raw.githubusercontent.com/aaamoon/copilot-gpt4-service/master/shells/get_copilot_token.sh)"
    ,你们如何获取 Token
    我目前就卡在这一步了
    twoyuan
        17
    twoyuan  
       35 天前
    asuraa
        18
    asuraa  
       34 天前
    完犊子了现在获取的 token 都过期了 不给用了
    zzsnull
        19
    zzsnull  
       34 天前
    Github Copilot token Tools [v0.0.3]
    >
    Get Github Copilot token Tools [v0.0.3]
    ————————————————-
    1. Get Github Copilot token by Github OAuth (Recommended)
    2. Get Github Copilot token by IDEA Github Copilot plugin
    3. Get Github Copilot token by Github Copilot CLI
    ————————————————-
    0. Exit


    Please enter a number [0-3]: 3
    Github Copilot CLI token not found. Please authorize.
    /usr/local/lib/node_modules/@githubnext/github-copilot-cli/dist/index.js:31
    `,E.label=1;case 1:return E.trys.push([1,3,,4]),[4,CT.confirmDirExists(this._tempDir)];case 2:return E.sent(),[3,4];case 3:return o=E.sent(),console.log(this.TAG,"Failed to create directory for log file: "+(o&&o.message)),[2];case 4:return E.trys.push([4,6,,11]),[4,CT.accessAsync(this._fileFullPath,OQe.constants.F_OK)];case 5:return E.sent(),[3,11];case 6:s=E.sent(),E.label=7;case 7:return E.trys.push([7,9,,10]),[4,CT.appendFileAsync(this._fileFullPath,r)];case 8:return E.sent(),[2];case 9:return n=E.sent(),console.log(this.TAG,"Failed to put log into file: "+(s&&s.message)),[2];case 10:return[3,11];case 11:return E.trys.push([11,17,,18]),[4,CT.getShallowFileSize(this._fileFullPath)];case 12:return c=E.sent(),c>this.maxSizeBytes?[4,this._createBackupFile(r)]:[3,14];case 13:return E.sent(),[3,16];case 14:return[4,CT.appendFileAsync(this._fileFullPath,r)];case 15:E.sent(),E.label=16;case 16:return[3,18];case 17:return m=E.sent(),conso

    SyntaxError: Unexpected token .
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/@githubnext/github-copilot-cli/cli.js:2:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    Github Copilot CLI token not found. Please try again.

    * Press Enter to return to the main menu. *

    token 获取是不可用了吗
    zzsnull
        20
    zzsnull  
       34 天前
    @twoyuan 目前替换了也是获取不了 token
    SkywalkerJi
        21
    SkywalkerJi  
       31 天前
    我号 ban 了,但我只用过一次。
    不知道是请求频率太高还是 ip 变动被发现了。
    其他人有 ban 号的吗?
    hopingtop
        22
    hopingtop  
       31 天前
    我才发现,我的号也被 ban 了,我也是自己使用,就调了几次。
    这种号封了 能解开吗?
    x97bgt
        23
    x97bgt  
       28 天前
    @zzsnull #19
    @SkywalkerJi #21
    @hopingtop #22

    想问,你们的号解封了吗?
    SkywalkerJi
        24
    SkywalkerJi  
       28 天前 via Android
    @x97bgt 我还没解,在和 GitHub 扯皮中。应该是有一次解封机会的,GitHub 已经同意了,我主要是看能不能搞清楚是检测了什么封的。
    x97bgt
        25
    x97bgt  
       28 天前
    @SkywalkerJi #24 你调用的频率高吗?或者在被封之前,做过什么可能被检测的操作吗?
    SkywalkerJi
        26
    SkywalkerJi  
       28 天前 via Android
    @x97bgt
    就用了一次。但是可能我延迟太低,一次性发了太多。还有个可能是命中了大量敏感词。
    但是客服说都不是,系统判定我连续在不同国家生成 token 。
    hopingtop
        27
    hopingtop  
       26 天前
    @x97bgt #23 我首先先把 github 的 copilot 的授权 app 取消点了,然后提了工单,然后隔天就解封了。
    x97bgt
        28
    x97bgt  
       25 天前
    @hopingtop #27 在哪里可以取消授权?似乎 GitHub 取消了我的 Copilot 会员?我的 https://github.com/settings/copilot 页面啥都没有。
    hopingtop
        29
    hopingtop  
       24 天前
    yanluolingfeng
        30
    yanluolingfeng  
       10 天前
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2683 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:09 · PVG 19:09 · LAX 04:09 · JFK 07:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.