Matrix: restore ordered progress delivery with explicit streaming modes (#59266)

Merged via squash.

Prepared head SHA: 523623b7e1
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Gustavo Madeira Santana
2026-04-01 19:35:03 -04:00
committed by GitHub
parent 91a7505af6
commit 560ea25294
26 changed files with 704 additions and 179 deletions

View File

@@ -127,6 +127,26 @@ describe("agent-runner-utils", () => {
});
});
it("does not force final-tag enforcement for minimax providers", () => {
const run = makeRun({ workspaceDir: process.cwd() });
const authProfile = resolveProviderScopedAuthProfile({
provider: "minimax",
primaryProvider: "minimax",
authProfileId: "profile-minimax",
authProfileIdSource: "user",
});
const resolved = buildEmbeddedRunBaseParams({
run,
provider: "minimax",
model: "MiniMax-M2.7",
runId: "run-1",
authProfile,
});
expect(resolved.enforceFinalTag).toBe(false);
});
it("builds embedded contexts and scopes auth profile by provider", () => {
const run = makeRun({
authProfileId: "profile-openai",