mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(ai): remove stale OpenRouter Kimi free model assertion (#5650)
Some checks are pending
CI / build-check-test (push) Waiting to run
Some checks are pending
CI / build-check-test (push) Waiting to run
This commit is contained in:
parent
1da903983a
commit
3f44d3e2eb
1 changed files with 3 additions and 5 deletions
|
|
@ -890,11 +890,9 @@ describe("openai-completions tool_choice", () => {
|
|||
});
|
||||
|
||||
it("stores OpenRouter Kimi K2.6 reasoning replay compat in built-in metadata", () => {
|
||||
for (const modelId of ["moonshotai/kimi-k2.6", "moonshotai/kimi-k2.6:free"] as const) {
|
||||
const model = getModel("openrouter", modelId)!;
|
||||
expect(model.compat?.supportsDeveloperRole).toBe(false);
|
||||
expect(model.compat?.requiresReasoningContentOnAssistantMessages).toBe(true);
|
||||
}
|
||||
const model = getModel("openrouter", "moonshotai/kimi-k2.6")!;
|
||||
expect(model.compat?.supportsDeveloperRole).toBe(false);
|
||||
expect(model.compat?.requiresReasoningContentOnAssistantMessages).toBe(true);
|
||||
});
|
||||
|
||||
it("stores Xiaomi MiMo reasoning replay compat in built-in metadata", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue