mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 14:50:21 +00:00
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:
committed by
GitHub
parent
91a7505af6
commit
560ea25294
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user