Skip to content

Commit 6a45137

Browse files
committed
resolves both the TypeScript error and maintains clean code
1 parent 2e72184 commit 6a45137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/services/loopDetectionService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class LoopDetectionService {
7979
// Tool call tracking
8080
private lastToolCallKey: string | null = null;
8181
private toolCallRepetitionCount: number = 0;
82-
private readonly toolCallArgsCache = new WeakMap<object, string>();
82+
private toolCallArgsCache = new WeakMap<object, string>();
8383

8484
// Content streaming tracking
8585
private streamContentHistory = '';

0 commit comments

Comments
 (0)