Skip to content

官方 API 出错 临时解决方案 | That model does not exists | The server is overloaded or not ready yet.  #82

@lss233

Description

@lss233

自 2023/2/8 起, 官方 API 的免费模型在调用时会出现 That model does not exists 或者 The server is overloaded or not ready yet. 的提示,以下为临时解决方案:

方案1:使用付费的 text-davinci-003 模型

想要使用此模型,需要设置环境变量 GPT_ENGINE=text-davinci-003
8A$96P~2XUVN5@F)1I6N7H9

Windows 用户可以参考此教程:https://view.inews.qq.com/k/20211202A08CCW00

Linux 用户 可以使用 export GPT_ENGINE=text-davinci-003 设置终端环境变量,然后执行 python3 bot.py 启动程序。

docker 用户可以通过命令或 docker-compose.yaml 传递配置,修改文件后使用 docker-compose up -d 来更新容器。

  chatgpt:
    image: lss233/chatgpt-mirai-qq-bot:api-version
    restart: always
    environment:
      GPT_ENGINE: text-davinci-003 # 主要是这行。如果你想使用付费模型,就加上这一行
    ports:
      - 14500:14500
    volumes:
      - ./config.cfg:/app/config.cfg
      # - ./fonts:/app/fonts # 如果你想自定义字体,就解除注释
      # - ./presets:/app/presets # 如果你想自定义预设,就解除注释

方案2:使用 1.5.x 版的网页接口

此方案使用浏览器模拟,访问 ChatGPT 进行聊天。
它需要你的服务器能够正常打开 ChatGPT 的网页(需要海外 IP)。
此外,你需要一个使用量比较少的 IP,否则可能会遇到被 Cloudflare 拦截的情况。
下载地址: https://github.com/lss233/chatgpt-mirai-qq-bot/releases/tag/v1.5.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    教程Improvements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions