调用chat的AI接口,传入stream为false,还是调用流式数据,或者返回报错 #2523
Unanswered
yi-boide
asked this question in
Development Question | 开发问题
Replies: 2 comments 1 reply
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
-
这个不对的。现在已经支持了插件的流式处理,为了更好的用户体验,我建议你应该参考 OpenAI 的官方实现方式,以流式的方式传输插件内容。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💻 Operating System
macOS
📦 Environment
Other
🌐 Browser
Chrome
🐛 Bug Description
调用chat的AI接口,传入stream为false,还是调用流式数据,或者返回报错,以及返回控制,无法处理的的数据
希望能够传入stream为false时,不要以流的方式返回数据,而是直接返回,例如在调用插件的时候应该是直接获取而不应该是流的形式获取,这样会更方便处理,以及提升一些响应时间
🚦 Expected Behavior
No response
📷 Recurrence Steps
No response
📝 Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions