mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-08 11:38:51 +01:00
loads up to 20 messages, debugging markdown issue
This commit is contained in:
parent
4e6168d8fa
commit
d56aa2edef
19 changed files with 329 additions and 625 deletions
|
|
@ -20,6 +20,12 @@ export const searchFetcher = async (pre, q, pageNumber, callback) => {
|
|||
callback(data);
|
||||
};
|
||||
|
||||
export const fetchById = async (path, conversationId) => {
|
||||
return await axios.get(`/api/${path}/${conversationId}`);
|
||||
// console.log(`fetch ${path} data`, data);
|
||||
// callback(data);
|
||||
};
|
||||
|
||||
export const swr = (path, successCallback, options) => {
|
||||
const _options = { ...options };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue