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
Describe the bug
I would like to ask, for Zhipu AI SDK, why is the message pushed after all messages are completely returned (although it is SSE message, all the messages are pushed at almost the same time). Can you check what the problem is here?
Log and Stack trace
To Reproduce
running dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModelIT#should_stream_answer
Expected behavior
sse should return at a constant speed, not all at once Please complete the following information:
LangChain4j version:0.28.0
LLM(s) used: zhipu sdk
Java version: 8
Spring Boot version (if applicable):
Additional context
The text was updated successfully, but these errors were encountered:
i find the reason, after remove if (builder.logResponses) { okHttpClientBuilder.addInterceptor(new ResponseLoggingInterceptor()); } sse can stream return otherwise the all response return simultaneously
Describe the bug
I would like to ask, for Zhipu AI SDK, why is the message pushed after all messages are completely returned (although it is SSE message, all the messages are pushed at almost the same time). Can you check what the problem is here?
Log and Stack trace
To Reproduce
running dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModelIT#should_stream_answer
Expected behavior
sse should return at a constant speed, not all at once
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered: