V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
lucasj
V2EX  ›  程序员

copilot-gpt4-service 不能用了

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

    上 Github Trending 又被封了 repo ,挺好笑的
    bigtear
        8
    bigtear  
       281 天前
    you222
        9
    you222  
       281 天前
    https://gitlab.com/aaamoon/copilot-gpt4-service
    在 Gitlab 留了一份代码存档,但是大概率后续不会更新和维护了
    bigtear
        10
    bigtear  
       281 天前   ❤️ 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  
       281 天前
    是时候上到国内仓库了
    gitee.com
    skyqiao
        12
    skyqiao  
       281 天前
    @bigtear #10 谢谢
    IwfWcf
        13
    IwfWcf  
       281 天前
    只是项目不再维护,目前还是可以继续用的
    hefengwqz
        14
    hefengwqz  
       280 天前
    @Twelveeee 不需要 gpt4 的 api key 吗,从哪里调的 api 呢?
    mmdsun
        15
    mmdsun  
       280 天前
    @hefengwqz 你抓包一下 vs code chat 就知道了,Github Copilot 调用也是/v1/chat/completions 接口, 本身就可以用 GPT-4 ,而且价格才 10 美元包月,比 GPT-4 低很多的。只不过有 ban 号的风险。
    zzsnull
        16
    zzsnull  
       280 天前
    这个步骤,获取 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  
       280 天前
    asuraa
        18
    asuraa  
       279 天前
    完犊子了现在获取的 token 都过期了 不给用了
    zzsnull
        19
    zzsnull  
       278 天前
    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  
       278 天前
    @twoyuan 目前替换了也是获取不了 token
    SkywalkerJi
        21
    SkywalkerJi  
       275 天前
    我号 ban 了,但我只用过一次。
    不知道是请求频率太高还是 ip 变动被发现了。
    其他人有 ban 号的吗?
    hopingtop
        22
    hopingtop  
       275 天前
    我才发现,我的号也被 ban 了,我也是自己使用,就调了几次。
    这种号封了 能解开吗?
    x97bgt
        23
    x97bgt  
       273 天前
    @zzsnull #19
    @SkywalkerJi #21
    @hopingtop #22

    想问,你们的号解封了吗?
    SkywalkerJi
        24
    SkywalkerJi  
       273 天前 via Android
    @x97bgt 我还没解,在和 GitHub 扯皮中。应该是有一次解封机会的,GitHub 已经同意了,我主要是看能不能搞清楚是检测了什么封的。
    x97bgt
        25
    x97bgt  
       273 天前
    @SkywalkerJi #24 你调用的频率高吗?或者在被封之前,做过什么可能被检测的操作吗?
    SkywalkerJi
        26
    SkywalkerJi  
       273 天前 via Android
    @x97bgt
    就用了一次。但是可能我延迟太低,一次性发了太多。还有个可能是命中了大量敏感词。
    但是客服说都不是,系统判定我连续在不同国家生成 token 。
    hopingtop
        27
    hopingtop  
       270 天前
    @x97bgt #23 我首先先把 github 的 copilot 的授权 app 取消点了,然后提了工单,然后隔天就解封了。
    x97bgt
        28
    x97bgt  
       269 天前
    @hopingtop #27 在哪里可以取消授权?似乎 GitHub 取消了我的 Copilot 会员?我的 https://github.com/settings/copilot 页面啥都没有。
    hopingtop
        29
    hopingtop  
       268 天前
    yanluolingfeng
        30
    yanluolingfeng  
       254 天前
    Twelveeee
        31
    Twelveeee  
       227 天前
    妈的,我也被封号了,我看论坛,好像近期比较多人被封,不知道啥情况,我报错 Invalid copilot token: missing token: 403

    @hopingtop
    你当时被封的现象是啥来着?


    https://github.com/microsoft/vscode-copilot-release/issues?q=is%3Aissue+Invalid+Copilot+token
    Twelveeee
        32
    Twelveeee  
       226 天前
    寄了

    ---
    Hey there Twelveeee,

    Thanks for writing in to Technical Support.

    Your access to Copilot has been restricted because our system has detected excessive/automated usage, programmatic API access or prompt manipulations, which is against our Terms of Service. Usage should also be restricted to our supported extensions.

    Regrettably, we are unable to reinstate your access at this time.

    Be advised that repeated violations of our Terms of Service or GitHub Acceptable Use Policies may lead to the permanent suspension of your GitHub account.
    All the best,
    Rick

    GitHub Support
    ---
    jiang24gdufs
        33
    jiang24gdufs  
       224 天前
    @you222 #1 这次是真不行了..被 github 封了.
    {
    "code": 403,
    "error": "{\"error_details\":{\"url\":\"https://support.github.com?editor={EDITOR}\",\"message\":\"Contact Support. You are currently logged in as ******.\",\"title\":\"Contact Support\",\"notification_id\":\"feature_flag_blocked\"},\"message\":\"Resource not accessible by integration\"}"
    }
    chenbin36255
        34
    chenbin36255  
       224 天前
    @jiang24gdufs 我也是
    jiang24gdufs
        35
    jiang24gdufs  
       220 天前
    开的 ticket 也是同样的回复, 应该是对转发 gpt4 的 api 做统一限制了, 如果出现这样的问题, 得停止订阅 copilot.
    tmoonlight
        36
    tmoonlight  
       220 天前
    我也是,咋个办?:

    Hi TMOONLIGHT,

    Your access to Copilot has been restricted because our system has detected excessive/automated usage, programmatic API access or prompt manipulations, which is against our Terms of Service. Usage should also be restricted to our supported extensions.

    Regrettably, we are unable to reinstate your access at this time.

    Be advised that repeated violations of our Terms of Service or GitHub Acceptable Use Policies may lead to the permanent suspension of your GitHub account.

    Regards,
    @Twelveeee
    easynote
        37
    easynote  
       218 天前
    @tmoonlight g 了。不给解封,不知道能不能反复拉扯解决
    nero233
        38
    nero233  
       216 天前 via Android
    不要再使用
    我一个全新账号,自己魔改了项目里面请求的 header 和 visual studio 的一模一样,token 抓的 vs 的
    2 天秒封
    怀疑是系统提示词暴露了
    nero233
        39
    nero233  
       216 天前 via Android
    我的主帐号通过申诉解封了,特别快,用教育邮箱申请的教育包,1 天内给我秒解了
    nero233
        40
    nero233  
       216 天前 via Android
    个人怀疑接口会检测你的提示词
    比如你用 nextchat 发的提示词必说 You are chatgpt
    而 copilot 每个请求都是自己那一串又臭又长的玩意
    lucasj
        41
    lucasj  
    OP
       215 天前
    不敢用了,打算用 Azure OpenAI 接口
    nero233
        42
    nero233  
       215 天前
    You are a world-class computer science tutor. Your answers perfectly balance high-level concepts and granular details. Your approach ensures that students not only understand how to write code, but also grasp the underlying principles that guide effective programming.\r\nWhen asked for your name, you must respond with \u0022GitHub Copilot\u0022.\r\nFollow the user\u0027s requirements carefully \u0026 to the letter.\r\nYour expertise is strictly limited to software development topics.\r\nFollow Microsoft content policies.\r\nAvoid content that violates copyrights.\r\nFor questions not related to software development, simply give a reminder that you are an AI programming assistant.\r\nKeep your answers short and impersonal.\r\nUse Markdown formatting in your answers.\r\nMake sure to include the programming language name at the start of the Markdown code blocks.\r\nAvoid wrapping the whole response in triple backticks.\r\nThe user works in an IDE called Visual Studio which has a concept for editors with open files, integrated unit test support, an output pane that shows the output of running the code as well as an integrated terminal.\r\nThe active document is the source code the user is looking at right now.\r\nYou can only give one reply for each conversation turn.\r\nWhen generating code prefer languages provided in context. If the coding language is unclear generate code in C#.\r\nRespond in the following locale: zh-CN\r\n\r\nAdditional Rules:\r\nThink step by step:\r\n1. Examine the provided code selection and any other context like user question, related errors, project details, class definitions, etc.\r\n2. If you are unsure about the code, concepts, or the user\u0027s question, ask clarifying questions.\r\n3. If the user provided a specific question or error, answer it based on the selected code and additional provided context.\r\n\r\nFocus on being clear, helpful, and thorough without assuming extensive prior knowledge.\r\nUse developer-friendly terms and analogies in your explanations.\r\nIdentify \u0027gotchas\u0027 or less obvious parts of the code that might trip up someone new.\r\nProvide clear and relevant examples aligned with any provided context.\r\n

    Copilot Chat 的提示词
    lhcnic
        43
    lhcnic  
       207 天前
    前两天被封了,提工单申述解封了,不敢再用了
    Wow0woW
        44
    Wow0woW  
       206 天前
    @lhcnic 你好,想问一下怎么申述,我的今天被封了
    Mzs
        45
    Mzs  
       199 天前
    Hello there,

    Thank you for contacting GitHub support.

    Your access to Copilot has been restricted due to our system detecting a significant volume of prompt manipulation, and service abuse which alters and disrupts the functioning of Copilot.

    In order to uphold the optimal performance of GitHub Copilot, our platform health team implements measures to suspend access for users engaged in such activities. Modifying or attempting to modify prompts can exert excessive strain on our servers, which constitutes a violation of our Terms of Service.

    However, I have now removed the restriction from your account. We kindly ask that you use Copilot strictly within our supported extensions and comply with our Terms of Service going forward to prevent any future restrictions.

    For basic security hygiene; please ensure that your credentials are being used exclusively by you. Please note that scripting against our API, including automated or excessive usage and programmatic token generation, is prohibited.

    Please be aware that any subsequent violations of our Terms of Service and our Acceptable Use Policies may lead to the permanent revocation of your Copilot access and a permanent suspension of your GitHub account.

    If you have any further questions or concerns, please don’t hesitate to reach out to us.

    All the best,
    GitHub Support


    工单申请 给了解封机会 暂时还是用其他 api 了
    Wow0woW
        46
    Wow0woW  
       199 天前
    @Mzs 老哥,你是怎么跟对方交涉的,我这边提了好几次,都不给解封,现在直接装死不回复了
    Mzs
        47
    Mzs  
       199 天前
    @Wow0woW #46 就正常回 问为什么不能用 工作要用 然后把上一期的收据放一下
    不过你沟通几次还不解 那就没办法了
    Wow0woW
        48
    Wow0woW  
       199 天前
    @Mzs 好的,谢谢,我再试试
    tmoonlight
        49
    tmoonlight  
       188 天前 via Android
    我的解封了,多给他说两句他就给解了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   970 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:29 · PVG 06:29 · LAX 14:29 · JFK 17:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.