【优化】AI:通义千问流式返回改为增量

This commit is contained in:
xiaoxin 2024-07-04 11:26:22 +08:00
parent 431e91561f
commit 9a2b8cc232

View File

@ -236,6 +236,7 @@ public class TongYiChatModel extends
.model(Generation.Models.QWEN_TURBO) .model(Generation.Models.QWEN_TURBO)
// {@link GenerationOutput} // {@link GenerationOutput}
.resultFormat(ConversationParam.ResultFormat.MESSAGE) .resultFormat(ConversationParam.ResultFormat.MESSAGE)
.incrementalOutput(true)
.build(); .build();