Skip to content

Commit b01fe37

Browse files
STetsingyann300
authored andcommitted
imports
1 parent 83d8bc6 commit b01fe37

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

libs/remix-ui/editor/src/lib/inlineCompetionsLibs/CompletionCache.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,25 @@ export class CompletionCache {
5454
const currentTime = Date.now();
5555
const isExpired = cached && currentTime - cached.timestamp >= this.cacheTimeout;
5656

57-
console.log('[CompletionCache] getCachedResult:', {
58-
cacheKey: cacheKey.substring(0, 50) + '...',
59-
hasCached: !!cached,
60-
isExpired,
61-
age: cached ? currentTime - cached.timestamp : 0
62-
});
57+
// console.log('[CompletionCache] getCachedResult:', {
58+
// cacheKey: cacheKey.substring(0, 50) + '...',
59+
// hasCached: !!cached,
60+
// isExpired,
61+
// age: cached ? currentTime - cached.timestamp : 0
62+
// });
6363

6464
if (cached && !isExpired) {
65-
console.log('[CompletionCache] Cache hit');
65+
// console.log('[CompletionCache] Cache hit');
6666
return cached.result;
6767
}
6868

6969
// Remove expired cache entry
7070
if (cached) {
71-
console.log('[CompletionCache] Removing expired cache entry');
71+
// console.log('[CompletionCache] Removing expired cache entry');
7272
this.cache.delete(cacheKey);
7373
}
7474

75-
console.log('[CompletionCache] Cache miss');
75+
// console.log('[CompletionCache] Cache miss');
7676
return null;
7777
}
7878

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
export { AdaptiveRateLimiter } from './AdaptiveRateLimiter';
22
export { SmartContextDetector } from './SmartContextDetector';
3-
export { CompletionCache } from './CompletionCache';
4-
export { UserBehaviorAnalytics } from './UserBehaviorAnalytics';
5-
export { QualityFilter } from './QualityFilter';
6-
export { UsageQuotaManager } from './UsageQuotaManager';
3+
export { CompletionCache } from './CompletionCache';

0 commit comments

Comments
 (0)