fix(ci): address lint, build and test failures after merge

This commit is contained in:
Keith Guerin
2026-03-21 09:56:56 -07:00
parent 8d0c2a3acb
commit cd4c8821cb
3 changed files with 6 additions and 3 deletions
@@ -48,7 +48,8 @@ describe('Interactive Mode', () => {
true,
);
await run.expectText('Chat history compressed', 5000);
await run.expectText('Context compressed', 5000);
await run.expectText('Adjust threshold', 5000);
});
// TODO: Context compression is broken and doesn't include the system
@@ -76,10 +76,11 @@ export const compressCommand: SlashCommand = {
isPending: false,
beforePercentage,
afterPercentage,
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
/* eslint-disable @typescript-eslint/no-unsafe-type-assertion */
compressionStatus: Number(
compressed.compressionStatus,
) as unknown as CompressionStatus,
/* eslint-enable @typescript-eslint/no-unsafe-type-assertion */
isManual: true,
thresholdPercentage: Math.round(threshold * 100),
},
+2 -1
View File
@@ -1192,12 +1192,13 @@ export const useGeminiStream = (
isPending: false,
beforePercentage,
afterPercentage,
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
/* eslint-disable @typescript-eslint/no-unsafe-type-assertion */
compressionStatus: eventValue
? (Number(
eventValue.compressionStatus,
) as unknown as CompressionStatus)
: null,
/* eslint-enable @typescript-eslint/no-unsafe-type-assertion */
isManual: false,
thresholdPercentage: Math.round(threshold * 100),
},