mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 13:54:47 +00:00
test: tighten fireworks stream assertions
This commit is contained in:
@@ -42,7 +42,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => {
|
||||
api: "openai-completions",
|
||||
modelId: "accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
}),
|
||||
).toMatchObject({ thinking: { type: "disabled" } });
|
||||
).toEqual({ thinking: { type: "disabled" } });
|
||||
});
|
||||
|
||||
it("forces thinking disabled for Fireworks Kimi k2.5 aliases", () => {
|
||||
@@ -52,7 +52,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => {
|
||||
api: "openai-completions",
|
||||
modelId: "accounts/fireworks/routers/kimi-k2.5-turbo",
|
||||
}),
|
||||
).toMatchObject({ thinking: { type: "disabled" } });
|
||||
).toEqual({ thinking: { type: "disabled" } });
|
||||
});
|
||||
|
||||
it("forces thinking disabled for Fireworks Kimi k2.6 models", () => {
|
||||
@@ -62,7 +62,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => {
|
||||
api: "openai-completions",
|
||||
modelId: "accounts/fireworks/models/kimi-k2p6",
|
||||
}),
|
||||
).toMatchObject({ thinking: { type: "disabled" } });
|
||||
).toEqual({ thinking: { type: "disabled" } });
|
||||
|
||||
expect(
|
||||
capturePayload({
|
||||
@@ -70,7 +70,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => {
|
||||
api: "openai-completions",
|
||||
modelId: "accounts/fireworks/routers/kimi-k2.6-turbo",
|
||||
}),
|
||||
).toMatchObject({ thinking: { type: "disabled" } });
|
||||
).toEqual({ thinking: { type: "disabled" } });
|
||||
});
|
||||
|
||||
it("strips reasoning fields when disabling Fireworks Kimi thinking", () => {
|
||||
|
||||
Reference in New Issue
Block a user