mateclaw/mateclaw-server/src/main/java/vip/mate/agent/model/AgentEntity.java

66 lines
1.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package vip.mate.agent.model;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;
/**
* Agent 配置实体
*
* @author MateClaw Team
*/
@Data
@TableName("mate_agent")
public class AgentEntity {
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/** Agent 名称 */
private String name;
/** Agent 描述 */
private String description;
/** Agent 类型react / plan_execute */
private String agentType;
/** 系统提示词 */
@TableField(value = "system_prompt", updateStrategy = FieldStrategy.ALWAYS)
private String systemPrompt;
/**
* 保留但不再生效运行时统一使用全局默认模型ModelConfigService.getDefaultModel())。
* 该字段为历史残留,仅保留以避免数据库迁移。
*/
@Deprecated
private String modelName;
/** 最大迭代次数 */
private Integer maxIterations;
/** 是否启用 */
private Boolean enabled;
/** 图标emoji 或 URL */
private String icon;
/** 标签(逗号分隔) */
private String tags;
/** 所属工作区 ID默认 1 = default */
private Long workspaceId;
/** 默认思考深度off / low / medium / high / maxnull 表示跟随模型默认 */
private String defaultThinkingLevel;
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updateTime;
private Integer deleted;
}