From e75140d7328ab4ee5df270d2228cfc3bb8b1c643 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Thu, 9 Feb 2023 21:02:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=AD=E7=9A=84apikey=E5=8D=A0=E4=BD=8D?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-template.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config-template.py b/config-template.py index 0d464af8..c43058db 100644 --- a/config-template.py +++ b/config-template.py @@ -21,6 +21,7 @@ mirai_http_api_config = { # [必需] OpenAI的配置 # api_key: OpenAI的API Key # 若只有一个api-key,请直接修改以下内容中的"openai_api_key"为你的api-key + # 如准备了多个api-key,可以以字典的形式填写,程序会自动选择可用的api-key # 例如 # openai_config = { @@ -32,7 +33,7 @@ mirai_http_api_config = { # } openai_config = { "api_key": { - "default": "fill_your_api_key_here" + "default": "openai_api_key" }, }