mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
【优化】AI:通义千问流式返回改为增量
This commit is contained in:
parent
431e91561f
commit
9a2b8cc232
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user