自动化立体仓库 - WMS系统
#
lty
昨天 da4b1333f5a9888e765fa867960d85b27f35c616
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.ai.config;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.function.client.WebClient;
 
@Configuration
public class LlmConfig {
 
    @Value("${llm.base-url}")
    private String baseUrl;
 
    @Bean
    public WebClient llmWebClient() {
        return WebClient.builder()
                .baseUrl(baseUrl)
                .build();
    }
}