增加LLM 后端服务API配置信息
This commit is contained in:
parent
4cbcacfd1f
commit
9bcfe94485
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user