Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SseEmitter 问题 #252

Open
weirantongxue opened this issue Mar 13, 2024 · 0 comments
Open

SseEmitter 问题 #252

weirantongxue opened this issue Mar 13, 2024 · 0 comments

Comments

@weirantongxue
Copy link

请问一下大佬在 项目中使用SseEmitter的时候把SseEmitter传入到new 的GPTEventSourceListener 中,使用 sseEmitter.send(SseEmitter.event()
.id(messageId)
.name(EventNameType.ADD.getCode())
.data(completionResponse.getChoices().get(0).getDelta().getContent())
.reconnectTime(3000));发送数据 的时候使用postmain调试无法收到消息.但是我在new GPTEventSourceListener 之前尝试发送 是可以收到的 或者之后也可以就是在GPTEventSourceListener 发不出去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant