Skip to content

Commit 36fb4a4

Browse files
wuayeewuayee
andauthored
[appBuilder] 流式输出时,不过滤blank的数据 (#381)
Co-authored-by: wuayee <[email protected]>
1 parent 292438e commit 36fb4a4

File tree

1 file changed

+1
-1
lines changed
  • app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/fitable

1 file changed

+1
-1
lines changed

app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/fitable/LlmComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ static class StreamMsgSender {
540540
*/
541541
public void sendMsg(String msg, Map<String, Object> businessData) {
542542
boolean enableLog = checkEnableLog(businessData);
543-
if (!enableLog || StringUtils.isBlank(msg) || msg.contains("<tool_call>")) {
543+
if (!enableLog || StringUtils.isEmpty(msg) || msg.contains("<tool_call>")) {
544544
return;
545545
}
546546
this.sendMsgHandle(msg, StreamMsgType.from(AippInstLogType.MSG), businessData);

0 commit comments

Comments
 (0)