mirror of
https://github.com/open-webui/open-webui
synced 2025-02-20 12:00:22 +00:00
fix
This commit is contained in:
parent
0f4f01cee9
commit
284ab648b6
@ -534,9 +534,8 @@
|
||||
const createdAtDate = new Date(createdAtTimestamp * 1000)
|
||||
.toISOString()
|
||||
.split('T')[0];
|
||||
acc.push(`${index + 1}. [${createdAtDate}]. ${doc}`);
|
||||
return acc;
|
||||
}, []);
|
||||
return `${acc}${index + 1}. [${createdAtDate}]. ${doc}\n`;
|
||||
}, '');
|
||||
}
|
||||
|
||||
console.log(userContext);
|
||||
|
Loading…
Reference in New Issue
Block a user