mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
minor: fix the prompt
This commit is contained in:
@@ -54,16 +54,10 @@ export function ChatMessageDisplay({
|
||||
chartXML,
|
||||
convertedXml
|
||||
);
|
||||
console.log("currentXml", currentXml);
|
||||
console.log("converted xml", convertedXml);
|
||||
console.log("replaced xml", replacedXML);
|
||||
onDisplayChart(replacedXML);
|
||||
|
||||
// if convertedXml changed
|
||||
}
|
||||
// if "/root" in convertedXml
|
||||
|
||||
// if convertedXml changed
|
||||
}
|
||||
return (
|
||||
<div
|
||||
|
||||
@@ -82,7 +82,6 @@ export default function ChatPanel({
|
||||
|
||||
// Clear files after submission
|
||||
setFiles(undefined);
|
||||
console.log("messages", messages);
|
||||
} catch (error) {
|
||||
console.error("Error fetching chart data:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user