From cf1f769773ba02d88f9b9319321e15ce348419e4 Mon Sep 17 00:00:00 2001 From: linyq Date: Sun, 11 May 2025 01:02:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor(config):=20=E6=9B=B4=E6=96=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=A4=BA=E4=BE=8B=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 Narrato API 的示例密钥和 URL - 添加 Gemini API 的基础 URL 配置项 --- config.example.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.example.toml b/config.example.toml index bfc504d..346b8df 100644 --- a/config.example.toml +++ b/config.example.toml @@ -26,8 +26,8 @@ vision_openai_base_url = "https://api.openai.com/v1" ########### NarratoAPI 微调模型 (未发布) - narrato_api_key = "ggyY91BAO-_ULvAqKum3XexcyN1G3dP86DEzvjZDcrg" - narrato_api_url = "https://narratoinsight.scsmtech.cn/api/v1" + narrato_api_key = "" + narrato_api_url = "" narrato_model = "narra-1.0-2025-05-09" # 用于生成文案的大模型支持的提供商 (Supported providers): @@ -60,6 +60,7 @@ ########## Gemini API Key text_gemini_api_key="" text_gemini_model_name = "gemini-2.0-flash" + text_gemini_base_url = "https://generativelanguage.googleapis.com/v1beta/openai" ########## Qwen API Key # 访问 https://bailian.console.aliyun.com/?tab=model#/api-key 获取你的 API 密钥