mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
fix: use console.log instead of console.error for XML validation during streaming (#96)
This commit is contained in:
@@ -115,7 +115,7 @@ export function ChatMessageDisplay({
|
|||||||
previousXML.current = convertedXml;
|
previousXML.current = convertedXml;
|
||||||
onDisplayChart(replacedXML);
|
onDisplayChart(replacedXML);
|
||||||
} else {
|
} else {
|
||||||
console.error("[ChatMessageDisplay] XML validation failed:", validationError);
|
console.log("[ChatMessageDisplay] XML validation failed:", validationError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user