From 0f5779de8408c1e8de3ffe7801cd1c161642ca2d Mon Sep 17 00:00:00 2001 From: shaw Date: Mon, 18 Aug 2025 11:10:49 +0800 Subject: [PATCH 01/14] =?UTF-8?q?fix:=20openai=E7=9A=84api=E8=BD=AC?= =?UTF-8?q?=E5=8F=91=E5=89=94=E9=99=A4=E5=A4=9A=E4=BD=99=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/openaiRoutes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/openaiRoutes.js b/src/routes/openaiRoutes.js index 2679da6f..0f46595c 100644 --- a/src/routes/openaiRoutes.js +++ b/src/routes/openaiRoutes.js @@ -128,7 +128,8 @@ router.post('/responses', authenticateApiKey, async (req, res) => { 'max_output_tokens', 'user', 'text_formatting', - 'truncation' + 'truncation', + 'service_tier' ] fieldsToRemove.forEach((field) => { delete req.body[field] From 539411d593f2891517cd18d206d05c30ea959ef8 Mon Sep 17 00:00:00 2001 From: shaw Date: Mon, 18 Aug 2025 19:15:23 +0800 Subject: [PATCH 02/14] =?UTF-8?q?fix:=20openai=E7=9A=84responses=E5=8E=BB?= =?UTF-8?q?=E9=99=A4text=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/openaiRoutes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/openaiRoutes.js b/src/routes/openaiRoutes.js index 0f46595c..2a237f26 100644 --- a/src/routes/openaiRoutes.js +++ b/src/routes/openaiRoutes.js @@ -129,6 +129,7 @@ router.post('/responses', authenticateApiKey, async (req, res) => { 'user', 'text_formatting', 'truncation', + 'text', 'service_tier' ] fieldsToRemove.forEach((field) => { From 23cb78558dee27cd28bc7e41057701e0f76e3c6d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 18 Aug 2025 11:16:13 +0000 Subject: [PATCH 03/14] chore: sync VERSION file with release v1.1.115 [skip ci] --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 1f837000..97553d5b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.114 +1.1.115 From b1f2b4f6c162fdd47055e292719b81c7bf6a431f Mon Sep 17 00:00:00 2001 From: mouyong Date: Wed, 20 Aug 2025 09:34:02 +0800 Subject: [PATCH 04/14] =?UTF-8?q?fix(proxy):=20=E5=BC=BA=E5=88=B6=20SOCKS5?= =?UTF-8?q?=20=E4=BB=A3=E7=90=86=E4=BD=BF=E7=94=A8=20IPv4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WHAT: 为 SOCKS5 代理配置添加 family: 4 选项强制使用 IPv4 地址族 WHY: 解决 IPv4 主机名在代理连接时被意外解析到 IPv6 地址的问题,确保代理连接的稳定性和可预期性 HOW: 在 SocksProxyAgent 构造函数中添加 family: 4 配置选项;保持与现有 HTTP/HTTPS 代理的兼容性;无破坏性变更 --- src/routes/openaiRoutes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/openaiRoutes.js b/src/routes/openaiRoutes.js index 2a237f26..9d67e73f 100644 --- a/src/routes/openaiRoutes.js +++ b/src/routes/openaiRoutes.js @@ -21,7 +21,9 @@ function createProxyAgent(proxy) { if (proxy.type === 'socks5') { const auth = proxy.username && proxy.password ? `${proxy.username}:${proxy.password}@` : '' const socksUrl = `socks5://${auth}${proxy.host}:${proxy.port}` - return new SocksProxyAgent(socksUrl) + return new SocksProxyAgent(socksUrl, { + family: 4, + }) } else if (proxy.type === 'http' || proxy.type === 'https') { const auth = proxy.username && proxy.password ? `${proxy.username}:${proxy.password}@` : '' const proxyUrl = `${proxy.type}://${auth}${proxy.host}:${proxy.port}` From af379f22aa04867dbeac6dfa12aa90d504fa797d Mon Sep 17 00:00:00 2001 From: shaw Date: Mon, 18 Aug 2025 19:15:23 +0800 Subject: [PATCH 05/14] =?UTF-8?q?fix:=20openai=E7=9A=84responses=E5=8E=BB?= =?UTF-8?q?=E9=99=A4text=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/openaiRoutes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/openaiRoutes.js b/src/routes/openaiRoutes.js index 0f46595c..2a237f26 100644 --- a/src/routes/openaiRoutes.js +++ b/src/routes/openaiRoutes.js @@ -129,6 +129,7 @@ router.post('/responses', authenticateApiKey, async (req, res) => { 'user', 'text_formatting', 'truncation', + 'text', 'service_tier' ] fieldsToRemove.forEach((field) => { From 5ae136a5dc70be0f6c8ea1499c3b262fc0c46122 Mon Sep 17 00:00:00 2001 From: mouyong Date: Wed, 20 Aug 2025 09:45:55 +0800 Subject: [PATCH 06/14] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E5=B0=BE?= =?UTF-8?q?=E9=9A=8F=E9=80=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WHAT: 移除 SocksProxyAgent 配置对象中的尾随逗号 WHY: 保持代码格式的一致性和整洁性,符合项目的代码规范 HOW: 删除 family: 4 后的尾随逗号;无功能变更;纯格式化修改 --- src/routes/openaiRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/openaiRoutes.js b/src/routes/openaiRoutes.js index 9d67e73f..2e6ff9f0 100644 --- a/src/routes/openaiRoutes.js +++ b/src/routes/openaiRoutes.js @@ -22,7 +22,7 @@ function createProxyAgent(proxy) { const auth = proxy.username && proxy.password ? `${proxy.username}:${proxy.password}@` : '' const socksUrl = `socks5://${auth}${proxy.host}:${proxy.port}` return new SocksProxyAgent(socksUrl, { - family: 4, + family: 4 }) } else if (proxy.type === 'http' || proxy.type === 'https') { const auth = proxy.username && proxy.password ? `${proxy.username}:${proxy.password}@` : '' From 54dca0f28570ce66f863ee3527b9dd2333f1cc27 Mon Sep 17 00:00:00 2001 From: mouyong Date: Wed, 20 Aug 2025 21:37:19 +0800 Subject: [PATCH 07/14] =?UTF-8?q?fix(frontend):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=88=86=E7=BB=84=E6=A8=A1=E6=80=81=E6=A1=86?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WHAT: 修复账户分组管理中编辑分组表单无法显示的问题 WHY: 编辑模态框使用无效的 z-60 类名导致层级冲突,编辑表单被主模态框遮挡 HOW: 将编辑模态框的 z-index 类名从 z-60 改为 z-50,与主模态框同级但利用 DOM 顺序确保正确显示;保持其他样式和功能不变 --- web/admin-spa/src/components/accounts/GroupManagementModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/admin-spa/src/components/accounts/GroupManagementModal.vue b/web/admin-spa/src/components/accounts/GroupManagementModal.vue index b70fa1d6..b793c356 100644 --- a/web/admin-spa/src/components/accounts/GroupManagementModal.vue +++ b/web/admin-spa/src/components/accounts/GroupManagementModal.vue @@ -172,7 +172,7 @@