mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix
This commit is contained in:
parent
0f4f01cee9
commit
284ab648b6
1 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue