diff --git a/images/wechat_group.jpg b/images/wechat_group.jpg index fef67944ca..a6c59b1f71 100644 Binary files a/images/wechat_group.jpg and b/images/wechat_group.jpg differ diff --git a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotEntity.java b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotEntity.java index baa3b57a44..449e9afcf7 100644 --- a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotEntity.java +++ b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotEntity.java @@ -2,7 +2,7 @@ * @Author: jackning 270580156@qq.com * @Date: 2024-03-22 16:16:26 * @LastEditors: jackning 270580156@qq.com - * @LastEditTime: 2025-04-19 11:47:23 + * @LastEditTime: 2025-04-20 07:43:58 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk * Please be aware of the BSL license restrictions before installing Bytedesk IM – * selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license. @@ -90,10 +90,16 @@ public class RobotEntity extends BaseEntity { @Column(name = "robot_type", nullable = false) private String type = RobotTypeEnum.SERVICE.name(); + // stream, 使用流式返回 @Builder.Default - private boolean published = false; + @Column(name = "is_stream") + private boolean stream = true; + + // @Builder.Default + // private boolean published = false; @Builder.Default + @Column(name = "is_kb_enabled") private boolean kbEnabled = false; private String kbUid; // 对应知识库 diff --git a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRequest.java b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRequest.java index d445fb8d6b..bbe0502115 100644 --- a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRequest.java +++ b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRequest.java @@ -65,8 +65,8 @@ public class RobotRequest extends BaseRequest { // 机器人分类 private String categoryUid; - @Builder.Default - private Boolean published = false; + // @Builder.Default + // private Boolean published = false; @Builder.Default private Boolean kbEnabled = false; diff --git a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotResponse.java b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotResponse.java index d17f17b06e..a1a0c061d0 100644 --- a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotResponse.java +++ b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotResponse.java @@ -2,7 +2,7 @@ * @Author: jackning 270580156@qq.com * @Date: 2024-03-22 16:45:18 * @LastEditors: jackning 270580156@qq.com - * @LastEditTime: 2025-04-19 11:47:52 + * @LastEditTime: 2025-04-20 07:44:32 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk * Please be aware of the BSL license restrictions before installing Bytedesk IM – * selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license. @@ -57,7 +57,7 @@ public class RobotResponse extends BaseResponse { // 机器人分类 private String categoryUid; - private Boolean published; + // private Boolean published; private Boolean kbEnabled; diff --git a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRestService.java b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRestService.java index 59c948eccd..50d538c6e7 100644 --- a/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRestService.java +++ b/modules/ai/src/main/java/com/bytedesk/ai/robot/RobotRestService.java @@ -2,7 +2,7 @@ * @Author: jackning 270580156@qq.com * @Date: 2024-03-22 16:44:41 * @LastEditors: jackning 270580156@qq.com - * @LastEditTime: 2025-04-19 11:45:55 + * @LastEditTime: 2025-04-20 07:44:20 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk * Please be aware of the BSL license restrictions before installing Bytedesk IM – * selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license. @@ -339,7 +339,7 @@ public class RobotRestService extends BaseRestService