ACP: rename stream char limits to output/sessionUpdate

This commit is contained in:
Onur
2026-03-01 18:11:20 +01:00
committed by Onur Solmaz
parent 4664d13857
commit 8292401719
8 changed files with 35 additions and 43 deletions

View File

@@ -12,7 +12,8 @@ describe("acp stream settings", () => {
expect(settings.deliveryMode).toBe("final_only");
expect(settings.hiddenBoundarySeparator).toBe("paragraph");
expect(settings.repeatSuppression).toBe(true);
expect(settings.maxTurnChars).toBe(24_000);
expect(settings.maxOutputChars).toBe(24_000);
expect(settings.maxSessionUpdateChars).toBe(320);
});
it("applies explicit stream overrides", () => {
@@ -24,7 +25,8 @@ describe("acp stream settings", () => {
deliveryMode: "final_only",
hiddenBoundarySeparator: "space",
repeatSuppression: false,
maxTurnChars: 500,
maxOutputChars: 500,
maxSessionUpdateChars: 123,
tagVisibility: {
usage_update: true,
},
@@ -35,7 +37,8 @@ describe("acp stream settings", () => {
expect(settings.deliveryMode).toBe("final_only");
expect(settings.hiddenBoundarySeparator).toBe("space");
expect(settings.repeatSuppression).toBe(false);
expect(settings.maxTurnChars).toBe(500);
expect(settings.maxOutputChars).toBe(500);
expect(settings.maxSessionUpdateChars).toBe(123);
expect(settings.tagVisibility.usage_update).toBe(true);
});