From 76b115f35f7a6d7dd83d206ba86aaf5cd8ce65cb Mon Sep 17 00:00:00 2001 From: hex2077 Date: Wed, 8 Oct 2025 13:52:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0.gitignore=E5=B9=B6?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BF=87=E6=9C=9F=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=92=8C=E6=96=87=E6=A1=A3=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除已不再使用的config.json和provider_pools.json配置文件 移除README中关于kiro免费使用的过期信息 在.gitignore中添加config.json和provider_pools.json --- .gitignore | 4 +- README-EN.md | 2 - README-JA.md | 2 - README.md | 2 - config.json | 25 ---------- provider_pools.json | 108 -------------------------------------------- 6 files changed, 3 insertions(+), 140 deletions(-) delete mode 100644 config.json delete mode 100644 provider_pools.json diff --git a/.gitignore b/.gitignore index 4ae0365..c62248d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules .serena/ .claude/ -CLAUDE.md \ No newline at end of file +CLAUDE.md +config.json +provider_pools.json \ No newline at end of file diff --git a/README-EN.md b/README-EN.md index f84c978..ac73ec2 100644 --- a/README-EN.md +++ b/README-EN.md @@ -27,8 +27,6 @@ > > 8.29 Added account pool mode, which supports multiple accounts for all providers, with built-in polling, failover (requires client retry), and configuration degradation. Requires adding PROVIDER_POOLS_FILE_PATH to config, see the configuration file: provider_pools.json for details. > -> 8.30 Latest news, Kiro can be used for free until 9.15 -> > 9.1 Added Qwen Code CLI support, can use qwen3-coder-plus model --- diff --git a/README-JA.md b/README-JA.md index daeb822..4eb8f39 100644 --- a/README-JA.md +++ b/README-JA.md @@ -28,8 +28,6 @@ > > 8.29 アカウントプールモードを追加。すべてのプロバイダーで複数アカウントの設定をサポート。ラウンドロビン、フェイルオーバー(クライアント再試行必要)、設定ダウングレードを内蔵。configでPROVIDER_POOLS_FILE_PATH設定が必要。詳細は設定ファイル:provider_pools.json参照 > -> 8.30 最新情報:kiroは9.15まで無料使用可能 -> > 9.1 Qwen Code CLIサポートを密かに追加、qwen3-coder-plusモデルが使用可能 --- diff --git a/README.md b/README.md index a60808c..86fbf2b 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,6 @@ > > 8.29 新增账号池模式,可支持所有provider配置多个账号,自带轮询,故障转移(需要客户端重试)和配置降级。需要在 config 新增配置 PROVIDER_POOLS_FILE_PATH , 详见配置文件:provider_pools.json > -> 8.30 最新消息,kiro可免费使用至9.15 -> > 9.1 偷摸的新增 Qwen Code CLI 支持,可使用 qwen3-coder-plus 模型 --- diff --git a/config.json b/config.json deleted file mode 100644 index c032ffa..0000000 --- a/config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "REQUIRED_API_KEY": "123456", - "SERVER_PORT": 3000, - "HOST": "127.0.0.1", - "MODEL_PROVIDER": "gemini-cli-oauth", - "OPENAI_API_KEY": "xxx", - "OPENAI_BASE_URL": "https://openai/v1", - "CLAUDE_API_KEY": "xxx", - "CLAUDE_BASE_URL": "https://anthropic/v1", - "PROJECT_ID": null, - "GEMINI_OAUTH_CREDS_BASE64": null, - "GEMINI_OAUTH_CREDS_FILE_PATH": null, - "KIRO_OAUTH_CREDS_BASE64": null, - "KIRO_OAUTH_CREDS_FILE_PATH": null, - "QWEN_OAUTH_CREDS_FILE_PATH": null, - "SYSTEM_PROMPT_FILE_PATH": "input_system_prompt.txt", - "SYSTEM_PROMPT_MODE": "overwrite", - "PROMPT_LOG_BASE_NAME": "prompt_log", - "PROMPT_LOG_MODE": "none", - "REQUEST_MAX_RETRIES": 3, - "REQUEST_BASE_DELAY": 1000, - "CRON_NEAR_MINUTES": 1, - "CRON_REFRESH_TOKEN": false, - "PROVIDER_POOLS_FILE_PATH": "provider_pools.json" -} \ No newline at end of file diff --git a/provider_pools.json b/provider_pools.json deleted file mode 100644 index 460d804..0000000 --- a/provider_pools.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "openai-custom": [ - { - "OPENAI_API_KEY": "sk-openai-key1", - "OPENAI_BASE_URL": "https://api.openai.com/v1", - "checkModelName": null, - "uuid": "2f579c65-d3c5-41b1-9985-9f6e3d7bf39c", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - }, - { - "OPENAI_API_KEY": "sk-openai-key2", - "OPENAI_BASE_URL": "https://api.openai.com/v1", - "checkModelName": null, - "uuid": "e284628d-302f-456d-91f3-6095386fb3b8", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - } - ], - "gemini-cli-oauth": [ - { - "GEMINI_OAUTH_CREDS_FILE_PATH": "./credentials1.json", - "PROJECT_ID": "your-project-id-1", - "checkModelName": null, - "uuid": "ac200154-26b8-4f5f-8650-e8cc738b06e3", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - }, - { - "GEMINI_OAUTH_CREDS_FILE_PATH": "./credentials2.json", - "PROJECT_ID": "your-project-id-2", - "checkModelName": null, - "uuid": "4f8afcc2-a9bb-4b96-bb50-3b9667a71f54", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - } - ], - "claude-custom": [ - { - "CLAUDE_API_KEY": "sk-claude-key1", - "CLAUDE_BASE_URL": "https://api.anthropic.com", - "checkModelName": null, - "uuid": "bb87047a-3b1d-4249-adbb-1087ecd58128", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - }, - { - "CLAUDE_API_KEY": "sk-claude-key2", - "CLAUDE_BASE_URL": "https://api.anthropic.com", - "checkModelName": null, - "uuid": "7c2002c6-122a-4db0-af06-8a0ff433801a", - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - } - ], - "claude-kiro-oauth": [ - { - "KIRO_OAUTH_CREDS_FILE_PATH": "./kiro_creds1.json", - "uuid": "2c69d0ac-b86f-43d8-9d17-0d300afc5cfd", - "checkModelName": null, - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - }, - { - "KIRO_OAUTH_CREDS_FILE_PATH": "./kiro_creds2.json", - "uuid": "7482abe6-8083-4288-bb7d-d8ecb7c461e2", - "checkModelName": null, - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - } - ], - "openai-qwen-oauth": [ - { - "QWEN_OAUTH_CREDS_FILE_PATH": "./qwen_creds.json", - "uuid": "658a2114-c4c9-d713-b8d4-ceabf0e0bf18", - "checkModelName": null, - "isHealthy": true, - "lastUsed": null, - "usageCount": 0, - "errorCount": 0, - "lastErrorTime": null - } - ] -} \ No newline at end of file