feat: render markdown in chat

This commit is contained in:
jialin
2025-02-11 14:01:46 +08:00
parent 349b895ac5
commit 4498f069f0
12 changed files with 493 additions and 235 deletions
+1
View File
@@ -27,6 +27,7 @@ const extractJSON = (dataStr: string) => {
const errorHandler = async (res: any) => {
try {
const data = await res.json();
console.log('errorHandler:', data);
return {
error: true,
data: data