From 88fcf1a84794f9036ecbdae183ed4a21bea88ade Mon Sep 17 00:00:00 2001 From: twelvet <2471835953@qq.com> Date: Mon, 16 Dec 2024 17:54:28 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=85=81=E8=AE=B8=E7=9F=A5?= =?UTF-8?q?=E8=AF=86=E5=BA=93=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/twelvet/api/ai/domain/dto/MessageDTO.java | 8 +++----- .../main/java/com/twelvet/api/ai/domain/vo/MessageVO.java | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/dto/MessageDTO.java b/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/dto/MessageDTO.java index eadbdb0a..894760b7 100644 --- a/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/dto/MessageDTO.java +++ b/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/dto/MessageDTO.java @@ -58,10 +58,8 @@ public void setCarryContextFlag(Boolean carryContextFlag) { @Override public String toString() { - return "MessageDTO{" + - "modelId=" + modelId + - ", content='" + content + '\'' + - ", carryContextFlag=" + carryContextFlag + - '}'; + return "MessageDTO{" + "modelId=" + modelId + ", content='" + content + '\'' + ", carryContextFlag=" + + carryContextFlag + '}'; } + } diff --git a/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/vo/MessageVO.java b/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/vo/MessageVO.java index c4e41d19..062c3135 100644 --- a/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/vo/MessageVO.java +++ b/twelvet/twelvet-api/twelvet-api-ai/src/main/java/com/twelvet/api/ai/domain/vo/MessageVO.java @@ -35,9 +35,7 @@ public void setContent(String content) { @Override public String toString() { - return "MessageVO{" + - "msgId='" + msgId + '\'' + - ", content='" + content + '\'' + - '}'; + return "MessageVO{" + "msgId='" + msgId + '\'' + ", content='" + content + '\'' + '}'; } + }