mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
doc (#1131)
doc doc doc doc http error response remove upload file count token Add more timeout
This commit is contained in:
@@ -130,7 +130,7 @@ export async function pushDataListToTrainingQueue({
|
||||
const text = item.q + item.a;
|
||||
|
||||
// count q token
|
||||
const token = countPromptTokens(item.q);
|
||||
const token = item.q.length;
|
||||
|
||||
if (token > maxToken) {
|
||||
filterResult.overToken.push(item);
|
||||
|
Reference in New Issue
Block a user