|
@@ -111,7 +111,6 @@ public class BaiduChatUtils {
|
|
|
String data = line.substring("data:".length()).trim();
|
|
String data = line.substring("data:".length()).trim();
|
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
|
Boolean isEnd = jsonObject.getBoolean("is_end");
|
|
Boolean isEnd = jsonObject.getBoolean("is_end");
|
|
|
- String result = jsonObject.getString("result");
|
|
|
|
|
if(isEnd){
|
|
if(isEnd){
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|