Commit 328b0e9a by zhangxingmin

push

parent c109e616
...@@ -105,6 +105,7 @@ public class ApiAiStreamServiceImpl implements ApiAiStreamService { ...@@ -105,6 +105,7 @@ public class ApiAiStreamServiceImpl implements ApiAiStreamService {
.messages(Arrays.asList(systemMsg, userMsg)) .messages(Arrays.asList(systemMsg, userMsg))
.resultFormat(GenerationParam.ResultFormat.MESSAGE) .resultFormat(GenerationParam.ResultFormat.MESSAGE)
.incrementalOutput(true) .incrementalOutput(true)
.enableSearch(true) // ← 添加这一行,启用联网搜索
.build(); .build();
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment