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