File tree 1 file changed +3
-3
lines changed
packages/baseai/src/deploy
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ export async function uploadDocumentsToMemory({
684
684
account : Account ;
685
685
} ) {
686
686
const BATCH_SIZE = 5 ; // Number of concurrent uploads
687
- const RATE_LIMIT_DELAY = 1000 ; // 1 second delay between requests
687
+ const RATE_LIMIT_DELAY = 1500 ; // 1.5 second delay between requests
688
688
689
689
// Process documents in batches to avoid rate limiting
690
690
for ( let i = 0 ; i < documents . length ; i += BATCH_SIZE ) {
@@ -732,7 +732,7 @@ export async function deleteDocumentsFromMemory({
732
732
account : Account ;
733
733
} ) {
734
734
const BATCH_SIZE = 5 ; // Number of concurrent uploads
735
- const RATE_LIMIT_DELAY = 1000 ; // 1 second delay between requests
735
+ const RATE_LIMIT_DELAY = 1500 ; // 1.5 second delay between requests
736
736
737
737
p . log . info ( `Deleting ${ documents . length } documents from memory: ${ name } ` ) ;
738
738
@@ -1165,7 +1165,7 @@ export async function handleGitSyncMemoryDeploy({
1165
1165
overwrite : boolean ;
1166
1166
} ) {
1167
1167
const BATCH_SIZE = 5 ;
1168
- const RATE_LIMIT_DELAY = 1000 ;
1168
+ const RATE_LIMIT_DELAY = 1500 ;
1169
1169
1170
1170
// Fetch existing documents once
1171
1171
const prodDocs = await listMemoryDocuments ( {
You can’t perform that action at this time.
0 commit comments