mateclaw/mateclaw-server/src/main/java/vip/mate/skill/synthesis/SkillSynthesisProperties.java

27 lines
725 B
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.skill.synthesis;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* RFC-023: Skill 自动合成配置
*
* @author MateClaw Team
*/
@Data
@ConfigurationProperties(prefix = "mate.skill.synthesis")
public class SkillSynthesisProperties {
/** 是否启用后台合成建议(对话结束后推 toast */
private boolean suggestEnabled = true;
/** 触发建议的最小对话消息数 */
private int minMessageCount = 10;
/** 触发建议的最小工具调用数(从 metadata 统计) */
private int minToolCallCount = 5;
/** 合成用的模型 IDnull = 跟随系统默认模型) */
private String modelId;
}