wjc
2026-03-06 d15d118b9bb517296e25f040ab43b5517b9c5fa5
app/src/main/java/com/hdl/photovoltaic/internet/ChatStreamClient.java
@@ -265,6 +265,7 @@
                try {
                    String body = response.body().string();
                    callback.onFullMessage(body);
                    Log.d("普通回复===", body);
                } catch (IOException e) {
                    callback.onError("Parse error: " + e.getMessage());
                }
@@ -283,7 +284,7 @@
                    if (line.startsWith("data:")) {
                        String data = line.substring(5).trim();
                        Log.d("流式处理==", line);
                        Log.d("流式处理===", line);
                        if (data.equals(DONE_FLAG)) {
                            callback.onComplete();
                            break;