This repository was archived by the owner on Nov 14, 2025. It is now read-only.
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 @@ -684,7 +684,7 @@ export async function uploadDocumentsToMemory({
684684 account : Account ;
685685} ) {
686686 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
688688
689689 // Process documents in batches to avoid rate limiting
690690 for ( let i = 0 ; i < documents . length ; i += BATCH_SIZE ) {
@@ -732,7 +732,7 @@ export async function deleteDocumentsFromMemory({
732732 account : Account ;
733733} ) {
734734 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
736736
737737 p . log . info ( `Deleting ${ documents . length } documents from memory: ${ name } ` ) ;
738738
@@ -1165,7 +1165,7 @@ export async function handleGitSyncMemoryDeploy({
11651165 overwrite : boolean ;
11661166} ) {
11671167 const BATCH_SIZE = 5 ;
1168- const RATE_LIMIT_DELAY = 1000 ;
1168+ const RATE_LIMIT_DELAY = 1500 ;
11691169
11701170 // Fetch existing documents once
11711171 const prodDocs = await listMemoryDocuments ( {
You canβt perform that action at this time.
0 commit comments