doc

doc

doc

doc

http error response

remove upload file count token

Add more timeout
This commit is contained in:
Archer
2024-04-03 18:18:18 +08:00
committed by GitHub
parent 8a46372418
commit 3b99e05cdc
6 changed files with 19 additions and 7 deletions

View File

@@ -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);