mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-21 00:23:43 +08:00
fix: 修复联网查询插件bug
This commit is contained in:
@@ -154,7 +154,7 @@ public class SseServiceImpl implements ISseService {
|
||||
}
|
||||
String zhipuValue = configService.getConfigValue("zhipu", "key");
|
||||
// 添加联网信息
|
||||
if(StringUtils.isNotEmpty(configValue)){
|
||||
if(StringUtils.isNotEmpty(zhipuValue)){
|
||||
ClientV4 client = new ClientV4.Builder(zhipuValue)
|
||||
.networkConfig(300, 100, 100, 100, TimeUnit.SECONDS)
|
||||
.connectionPool(new okhttp3.ConnectionPool(8, 1, TimeUnit.SECONDS))
|
||||
|
||||
Reference in New Issue
Block a user