You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the streaming interface of TongYiChatClient, the data returned each time is not incremental because the default value of ChatOptions.incrementalOutput is false.
I passed in a custom ChatOption through the Prompt constructor, but it did not take effect. I found that when ChatOptions are merged, the priority of the default configuration is higher than that of the custom configuration. Is there a problem with the method I am using?
Which Component
AI
Describe what problem you have encountered
When I use the streaming interface of TongYiChatClient, the data returned each time is not incremental because the default value of ChatOptions.incrementalOutput is false.
I passed in a custom ChatOption through the Prompt constructor, but it did not take effect. I found that when ChatOptions are merged, the priority of the default configuration is higher than that of the custom configuration. Is there a problem with the method I am using?
我在使用 TongYiChatClient 的流式接口时每次返回的数据并不是增量,因为 ChatOptions.incrementalOutput 默认值时false。
我通过 Prompt 构造器传入了自定义的 ChatOption 没有生效,发现在 ChatOptions 合并时默认配置的优先级高于自定义配置,是我使用的方法有问题吗?
Describe what information you have read
not found
The text was updated successfully, but these errors were encountered: