From 7b39a96131405059dcb9e124ee5e49be3e9eda79 Mon Sep 17 00:00:00 2001 From: weaigc <879821485@qq.com> Date: Sun, 12 Nov 2023 18:03:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E5=8E=9F=E5=9B=BE?= =?UTF-8?q?=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat-message.tsx | 3 +++ src/lib/bots/bing/index.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/src/components/chat-message.tsx b/src/components/chat-message.tsx index 6db8e9f7..e2ba67de 100644 --- a/src/components/chat-message.tsx +++ b/src/components/chat-message.tsx @@ -53,6 +53,9 @@ export function ChatMessage({ message, index, ...props }: ChatMessageProps) { if (w && h) { uri.searchParams.delete('w') uri.searchParams.delete('h') + // delete watermark + uri.searchParams.delete('c') + uri.searchParams.delete('o') return {obj.alt} } } catch (e) { diff --git a/src/lib/bots/bing/index.ts b/src/lib/bots/bing/index.ts index 7715f045..02cf7cd5 100644 --- a/src/lib/bots/bing/index.ts +++ b/src/lib/bots/bing/index.ts @@ -236,6 +236,7 @@ export class BingWebBot { conversationId: conversation.conversationId, conversationSignature: conversation.conversationSignature, participant: { id: conversation.clientId }, + plugins: [], scenario: 'SERP', tone: conversation.conversationStyle }