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