File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/baseai/src/deploy Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ export async function uploadDocumentsToMemory({
645
645
account : Account ;
646
646
} ) {
647
647
const BATCH_SIZE = 5 ; // Number of concurrent uploads
648
- const RATE_LIMIT_DELAY = 1000 ; // 1 second delay between requests
648
+ const RATE_LIMIT_DELAY = 1500 ; // 1.5 second delay between requests
649
649
650
650
// Process documents in batches to avoid rate limiting
651
651
for ( let i = 0 ; i < documents . length ; i += BATCH_SIZE ) {
@@ -693,7 +693,7 @@ export async function deleteDocumentsFromMemory({
693
693
account : Account ;
694
694
} ) {
695
695
const BATCH_SIZE = 5 ; // Number of concurrent uploads
696
- const RATE_LIMIT_DELAY = 1000 ; // 1 second delay between requests
696
+ const RATE_LIMIT_DELAY = 1500 ; // 1.5 second delay between requests
697
697
698
698
p . log . info ( `Deleting ${ documents . length } documents from memory: ${ name } ` ) ;
699
699
@@ -1123,7 +1123,7 @@ export async function handleGitSyncMemoryDeploy({
1123
1123
overwrite : boolean ;
1124
1124
} ) {
1125
1125
const BATCH_SIZE = 5 ;
1126
- const RATE_LIMIT_DELAY = 1000 ;
1126
+ const RATE_LIMIT_DELAY = 1500 ;
1127
1127
1128
1128
// Fetch existing documents once
1129
1129
const prodDocs = await listMemoryDocuments ( {
You canβt perform that action at this time.
0 commit comments