mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
4.8.10 test (#2568)
* perf: i18n perf * fix: detail=fasle response * fix: dataset tag load repeat * feat :doc * perf: rename fun * code comment
This commit is contained in:
@@ -79,7 +79,7 @@ export const readRawContentByFileBuffer = async ({
|
||||
)
|
||||
return;
|
||||
|
||||
addLog.info('Use custom read file service');
|
||||
const start = Date.now();
|
||||
|
||||
const data = new FormData();
|
||||
data.append('file', buffer, {
|
||||
@@ -101,6 +101,8 @@ export const readRawContentByFileBuffer = async ({
|
||||
}
|
||||
});
|
||||
|
||||
addLog.info(`Use custom read file service, time: ${Date.now() - start}ms`);
|
||||
|
||||
const rawText = response.data.markdown;
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user