• 请不要在回答技术问题时复制粘贴 AI 生成的内容
lucasj
V2EX  ›  程序员

copilot-gpt4-service 不能用了

  •  
  •   lucasj · Mar 21, 2024 · 8506 views
    This topic created in 979 days ago, the information mentioned may be changed or developed.
    49 replies  •  2024-06-22 19:49:32 +08:00
    you222
    you222
    Mar 21, 2024
    1
    lstz
    lstz
    Mar 21, 2024 via Android
    2
    很遗憾听到这个消息
    noahlias
    noahlias
    Mar 21, 2024❤️3
    3
    早就预料到了 人家赚钱的东西 肯定有人用来转发薅羊毛了
    这种涉及利益的东西 小范围玩玩就行 下次可能就是封你号
    bkmi
    bkmi
    Mar 21, 2024 via Android
    4
    有人有存档不
    hankli
    hankli
    Mar 21, 2024
    5
    没封号就不错了, 哈哈哈哈
    skyqiao
    skyqiao
    Mar 21, 2024❤️1
    6
    我记得作者在 v 里,有联系方式没
    Twelveeee
    Twelveeee
    Mar 21, 2024
    7
    @you222
    我自己搭起来,已经用到现在了,还没有封号。一个月省了接近 20 刀,感谢。

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

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

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


    https://github.com/microsoft/vscode-copilot-release/issues?q=is%3Aissue+Invalid+Copilot+token
    Twelveeee
    Twelveeee
    May 16, 2024
    32
    寄了

    ---
    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
    jiang24gdufs
    May 17, 2024
    33
    @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\"}"
    }
    v0rtix
    v0rtix
    May 17, 2024
    34
    @jiang24gdufs 我也是
    jiang24gdufs
    jiang24gdufs
    May 21, 2024
    35
    开的 ticket 也是同样的回复, 应该是对转发 gpt4 的 api 做统一限制了, 如果出现这样的问题, 得停止订阅 copilot.
    tmoonlight
    tmoonlight
    May 21, 2024
    36
    我也是,咋个办?:

    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
    easynote
    May 23, 2024
    37
    @tmoonlight g 了。不给解封,不知道能不能反复拉扯解决
    nero233
    nero233
    May 26, 2024 via Android
    38
    不要再使用
    我一个全新账号,自己魔改了项目里面请求的 header 和 visual studio 的一模一样,token 抓的 vs 的
    2 天秒封
    怀疑是系统提示词暴露了
    nero233
    nero233
    May 26, 2024 via Android
    39
    我的主帐号通过申诉解封了,特别快,用教育邮箱申请的教育包,1 天内给我秒解了
    nero233
    nero233
    May 26, 2024 via Android
    40
    个人怀疑接口会检测你的提示词
    比如你用 nextchat 发的提示词必说 You are chatgpt
    而 copilot 每个请求都是自己那一串又臭又长的玩意
    lucasj
    lucasj
    OP
    May 26, 2024
    41
    不敢用了,打算用 Azure OpenAI 接口
    nero233
    nero233
    May 26, 2024
    42
    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
    lhcnic
    Jun 3, 2024
    43
    前两天被封了,提工单申述解封了,不敢再用了
    Wow0woW
    Wow0woW
    Jun 4, 2024
    44
    @lhcnic 你好,想问一下怎么申述,我的今天被封了
    Mzs
    Mzs
    Jun 11, 2024
    45
    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
    Wow0woW
    Jun 11, 2024
    46
    @Mzs 老哥,你是怎么跟对方交涉的,我这边提了好几次,都不给解封,现在直接装死不回复了
    Mzs
    Mzs
    Jun 11, 2024
    47
    @Wow0woW #46 就正常回 问为什么不能用 工作要用 然后把上一期的收据放一下
    不过你沟通几次还不解 那就没办法了
    Wow0woW
    Wow0woW
    Jun 11, 2024
    48
    @Mzs 好的,谢谢,我再试试
    tmoonlight
    tmoonlight
    Jun 22, 2024 via Android
    49
    我的解封了,多给他说两句他就给解了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2162 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 14:30 · PVG 22:30 · LAX 06:30 · JFK 09:30
    ♥ Do have faith in what you're doing.