File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/core/condense/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class MockApiHandler extends BaseProvider {
3636 }
3737 }
3838
39- async countTokens ( content : Array < Anthropic . Messages . ContentBlockParam > ) : Promise < number > {
39+ override async countTokens ( content : Array < Anthropic . Messages . ContentBlockParam > ) : Promise < number > {
4040 // Simple token counting for testing
4141 let tokens = 0
4242 for ( const block of content ) {
@@ -176,7 +176,7 @@ describe("Condense", () => {
176176 it ( "should handle empty summary from API gracefully" , async ( ) => {
177177 // Mock handler that returns empty summary
178178 class EmptyMockApiHandler extends MockApiHandler {
179- createMessage ( ) : any {
179+ override createMessage ( ) : any {
180180 const mockStream = {
181181 async * [ Symbol . asyncIterator ] ( ) {
182182 yield { type : "text" , text : "" }
You can’t perform that action at this time.
0 commit comments