增加LLM 后端服务API配置信息

This commit is contained in:
zhangtao 2024-12-29 17:18:07 +08:00
parent 4cbcacfd1f
commit 9bcfe94485

View File

@ -5,7 +5,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotNull;
import java.time.Duration;
@ConfigurationProperties(prefix = "llm.backend")
@Validated
@ -16,5 +15,5 @@ public class LLMBackendProperties {
* 过期时间
*/
@NotNull(message = "RAG健康检查API")
private Duration ragHealth;
private String ragHealth;
}