3,652 prompts from top AI collections
← Back to Market
[LIVE] [AsisYu/ChatMock-v2] 2 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,329 characters
Status: [LIVE] Endpoints found: https://api.star-history.com/svg?repos=AsisYu/ChatMock-v2&type=Timeline)](https://www.star-history.com/#AsisYu/Chat https://api.star-history.com/svg?repos=AsisYu/ChatMock-v2&type=Timeline)](https://www.star-history.com/#AsisYu/ChatMock-v2&Timeline Source: https://github.com/AsisYu/ChatMock-v2 <div align="center"> # ChatMock-v2 **让 Codex 在你喜爱的聊天应用和编程工具中运行** [中文](README.md) | [English](README_EN.md) [![PyPI](https://img.shields.io/pypi/v/chatmock?color=blue&label=pypi)](https://pypi.org/project/chatmock/) [![Python](https://img.shields.io/pypi/pyversions/chatmock)](https://pypi.org/project/chatmock/) [![License](https://img.shields.io/github/license/AsisYu/ChatMock-v2)](LICENSE) [![Stars](https://img.shields.io/github/stars/AsisYu/ChatMock-v2?style=flat)](https://github.com/AsisYu/ChatMock-v2/stargazers) [![Last Commit](https://img.shields.io/github/last-commit/AsisYu/ChatMock-v2)](https://github.com/AsisYu/ChatMock-v2/commits/main) [![Issues](https://img.shields.io/github/issues/AsisYu/ChatMock-v2)](https://github.com/AsisYu/ChatMock-v2/issues) <br> > **v2 说明**: ChatMock-v2 是 [RayBytes/ChatMock](https://github.com/RayBytes/ChatMock) 的增强 fork,增加了 API Token 认证、多账户池管理等企业级特性。 </div> <br> ## ChatMock安装 #### Homebrew ```bash brew tap RayBytes/chatmock brew install chatmock ``` #### pipx / pip ```bash pipx install chatmock ``` #### GUI 从 [releases](https://github.com/RayBytes/ChatMock/releases) 下载 (macOS 和 Windows) #### Docker 参见 [DOCKER.md](DOCKER.md) ## ChatMock-v2安装 使用多号池请**git本仓库**,而不是通过brew和pipx。 #### git本仓库 ```bash git clone https://github.com/AsisYu/ChatMock-v2.git pip install -r requirements.txt python chatmock.py login python chatmock.py serve ``` <br> ## 快速开始 ```bash # 1. 使用 ChatGPT 账号登录 chatmock.py login # 2. 启动服务器 chatmock.py serve ``` 服务器默认运行在 `http://127.0.0.1:8000`。将 `http://127.0.0.1:8000/v1` 作为 OpenAI 兼容应用的基础 URL。 <br> ## 多账户池 ChatMock-v2 支持多个 ChatGPT 账户,并在触发速率限制时自动切换。 ### 添加账户 ```bash # 添加第一个账户 chatmock.py login # 添加更多账
Download .txt