Replies: 1 comment
-
@iamjoel When you free, Can you give me a solution, or tell me the reason if it is the expected situation, Thanks so much。🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
When using the
chatclient.createchatmessage
method in the Node.js SDK, specifyingstream=true
results in an asynchronous return of a regular object rather than aReadableStream
.My code runs in a browser environment, and when I checked the source code for this part, I found that it only depends on the
axios
library and does not use any libraries or features unique to the Node environment. Therefore, my understanding is that the behavior should be the same in both Node and browser environments (in fact, I have tested it in Node, and it is indeed the case).So, how can I get it to return a ReadableStream? Is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions