From 87bd54d9ea4e136b37c3c6297da73333b375b583 Mon Sep 17 00:00:00 2001 From: Gemini Wen Date: Tue, 30 Sep 2025 13:01:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=A0=87=E8=AF=86=E7=9A=84=E5=B8=83?= =?UTF-8?q?=E5=B0=94=E5=80=BC=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 useUnifiedClientId 的判断从直接布尔值比较改为字符串 'true' 比较,修复配置值为字符串时的判断问题。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/services/claudeRelayService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/claudeRelayService.js b/src/services/claudeRelayService.js index 89baf34e..c7d1ad08 100644 --- a/src/services/claudeRelayService.js +++ b/src/services/claudeRelayService.js @@ -429,7 +429,7 @@ class ClaudeRelayService { } // 处理统一的客户端标识 - if (account && account.useUnifiedClientId && account.unifiedClientId) { + if (account && account.useUnifiedClientId === 'true' && account.unifiedClientId) { this._replaceClientId(processedBody, account.unifiedClientId) }