From c09c4652099af690987cf5c472fee7264d351734 Mon Sep 17 00:00:00 2001 From: foxhui Date: Sat, 20 Dec 2025 18:37:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20LMArena=20=E5=9B=BE=E7=89=87=E9=80=82?= =?UTF-8?q?=E9=85=8D=E5=99=A8=E6=94=AF=E6=8C=81=E5=8D=95=E7=8B=AC=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=9B=BE=E7=89=87URL=20(closes=20#3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- config.example.yaml | 2 +- src/backend/adapter/lmarena.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d03b991..73c4cfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **初始化失败逻辑** - 程序初始化失败后不会直接推出,以便利用 WebUI 修改错误的配置 - **LMArena 图片适配器** - - 支持通过配置直接返回图片URL (但其他不支持的适配器仍然会返回 Base64) + - 支持通过配置直接返回图片URL (但其他不支持该选项的适配器仍然会返回 Base64) ## [3.2.0] - 2025-12-19 diff --git a/config.example.yaml b/config.example.yaml index 692b924..bbd0f83 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -116,7 +116,7 @@ backend: entryUrl: "" # Lmarena 配置 lmarena: - # 开启后直接返回图片 URL (但其他不支持的适配器仍然会返回 Base64) + # 开启后直接返回图片 URL (但其他不支持该选项的适配器仍然会返回 Base64) returnUrl: false diff --git a/src/backend/adapter/lmarena.js b/src/backend/adapter/lmarena.js index dc33bf5..f3ca5e1 100644 --- a/src/backend/adapter/lmarena.js +++ b/src/backend/adapter/lmarena.js @@ -184,7 +184,7 @@ export const manifest = { label: '返回图片 URL', type: 'boolean', default: false, - note: '开启后直接返回图片 URL (但其他不支持的适配器仍然会返回 Base64)' + note: '开启后直接返回图片 URL (但其他不支持该选项的适配器仍然会返回 Base64)' } ],