Class DifyConfig
java.lang.Object
com.bytedesk.ai.springai.providers.dify.DifyConfig
@Configuration
@ConfigurationProperties(prefix="bytedesk.dify")
@ConditionalOnProperty(name="bytedesk.dify.enabled",
havingValue="true",
matchIfMissing=false)
public class DifyConfig
extends Object
Dify 配置属性
-
Field Details
-
enabled
private boolean enabled是否启用 Dify -
apiUrl
Dify API 地址 -
apiKey
Dify API 密钥 -
defaultResponseMode
默认响应模式 -
timeout
private int timeout请求超时时间(毫秒) -
maxRetries
private int maxRetries最大重试次数 -
debugEnabled
private boolean debugEnabled是否启用调试日志
-
-
Constructor Details
-
DifyConfig
public DifyConfig()
-