wangzhibo
2026-08-30 c8515170fd399b4d2dfaebb59128d4674e58915e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package xiaozhi.modules.agent.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xiaozhi.modules.agent.dto.ContextProviderDTO;
import xiaozhi.modules.agent.entity.AgentEntity;
import xiaozhi.modules.agent.entity.AgentPluginMapping;
 
import java.util.List;
 
/**
 * Agent信息返回体VO
 * 这里直接extend了Agent实体类AgentEntity,后续需要规范返回字段可以copy字段出来
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AgentInfoVO extends AgentEntity
{
    @Schema(description = "插件列表Id")
    private List<AgentPluginMapping> functions;
 
    @Schema(description = "上下文源配置")
    private List<ContextProviderDTO> contextProviders;
 
    @Schema(description = "替换词文件ID列表")
    private List<String> correctWordFileIds;
 
    @Schema(description = "当前配置版本号")
    private Integer currentVersionNo;
}