fix(ai,coding-agent): replace deprecated kimi k2p5 model closes #3242

This commit is contained in:
Mario Zechner
2026-04-16 12:06:24 +02:00
parent 1c016cb018
commit eb1cf80b10
7 changed files with 89 additions and 46 deletions

View File

@@ -300,8 +300,8 @@ describe("Tool Results with Images", () => {
});
});
describe.skipIf(!process.env.KIMI_API_KEY)("Kimi For Coding Provider (k2p5)", () => {
const llm = getModel("kimi-coding", "k2p5");
describe.skipIf(!process.env.KIMI_API_KEY)("Kimi For Coding Provider (kimi-for-coding)", () => {
const llm = getModel("kimi-coding", "kimi-for-coding");
it("should handle tool result with only image", { retry: 3, timeout: 30000 }, async () => {
await handleToolWithImageResult(llm);

View File

@@ -192,7 +192,7 @@ describe("Token Statistics on Abort", () => {
});
describe.skipIf(!process.env.KIMI_API_KEY)("Kimi For Coding Provider", () => {
const llm = getModel("kimi-coding", "k2p5");
const llm = getModel("kimi-coding", "kimi-for-coding");
it("should include token stats when aborted mid-stream", { retry: 3, timeout: 30000 }, async () => {
await testTokensOnAbort(llm);