File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -459,14 +459,14 @@ export async function createAgent(
459
459
} ) ;
460
460
}
461
461
462
- function intializeFsCache ( baseDir : string , character : Character ) {
462
+ function initializeFsCache ( baseDir : string , character : Character ) {
463
463
const cacheDir = path . resolve ( baseDir , character . id , "cache" ) ;
464
464
465
465
const cache = new CacheManager ( new FsCacheAdapter ( cacheDir ) ) ;
466
466
return cache ;
467
467
}
468
468
469
- function intializeDbCache ( character : Character , db : IDatabaseCacheAdapter ) {
469
+ function initializeDbCache ( character : Character , db : IDatabaseCacheAdapter ) {
470
470
const cache = new CacheManager ( new DbCacheAdapter ( db , character . id ) ) ;
471
471
return cache ;
472
472
}
@@ -489,7 +489,7 @@ async function startAgent(character: Character, directClient) {
489
489
490
490
await db . init ( ) ;
491
491
492
- const cache = intializeDbCache ( character , db ) ;
492
+ const cache = initializeDbCache ( character , db ) ;
493
493
const runtime = await createAgent ( character , db , cache , token ) ;
494
494
495
495
await runtime . initialize ( ) ;
You can’t perform that action at this time.
0 commit comments