fix(core): enable mid-stream retries for all models and re-enable compression test (#24302)

This commit is contained in:
Sehoon Shon
2026-03-31 02:25:21 -04:00
committed by GitHub
parent e966db3713
commit 7b895bc5ba
6 changed files with 6 additions and 97 deletions
+1 -1
View File
@@ -1 +1 @@
{"method":"generateContentStream","response":[{"candidates":[{"content":{"parts":[{"text":"Part 1. "}],"role":"model"},"index":0}]},{"usageMetadata":{"promptTokenCount":100,"candidatesTokenCount":10,"totalTokenCount":110}},{"candidates":[{"content":{"parts":[{"text":"Part 2."}],"role":"model"},"index":0}],"finishReason":"STOP"}]}
{"method":"generateContentStream","response":[{"candidates":[{"content":{"parts":[{"text":"Part 1. "}],"role":"model"},"index":0}]},{"usageMetadata":{"promptTokenCount":100,"candidatesTokenCount":10,"totalTokenCount":110}},{"candidates":[{"content":{"parts":[{"text":"Part 2."}],"role":"model"},"index":0,"finishReason":"STOP"}]}]}
@@ -19,7 +19,7 @@ describe('Interactive Mode', () => {
await rig.cleanup();
});
it.skip('should trigger chat compression with /compress command', async () => {
it('should trigger chat compression with /compress command', async () => {
await rig.setup('interactive-compress-success', {
fakeResponsesPath: join(
import.meta.dirname,