From c2bd749a302d2896f471ccc02e68a243285178e9 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 28 Apr 2026 16:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 9de82cb..bc94454 100644 --- a/config.yaml +++ b/config.yaml @@ -128,11 +128,11 @@ llm: # 2. 插件会在此 base_url 基础上请求 images/generations; # 3. endpoint 保留为图片接口默认值,便于后续统一调整。 api_base_url: "https://freeapi.dgbmc.top/v1" - endpoint: "images/generations" + endpoint: "chat/completions" api_key: "sk-2XccrBRsX8OmxqCEsZjdDRczhHNaAG7Mn88mNVL7Y0w0tx72" # 图片模型默认使用 gpt-image-1; # 若网关只支持其他模型,可后续直接在这里替换。 - model: "gpt-image-1" + model: "gpt-image-2" stream: false timeout_seconds: 300 max_retries: 2