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;