From 68cebc0e1ae3370cb278ba0588bcb0f439a21381 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Thu, 26 Feb 2026 03:30:55 -0500 Subject: [PATCH] test(models): complete merge precedence fixtures --- ...ssing-provider-apikey-from-env-var.test.ts | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/agents/models-config.fills-missing-provider-apikey-from-env-var.test.ts b/src/agents/models-config.fills-missing-provider-apikey-from-env-var.test.ts index 1d4148b496b..4abfa4f1ab4 100644 --- a/src/agents/models-config.fills-missing-provider-apikey-from-env-var.test.ts +++ b/src/agents/models-config.fills-missing-provider-apikey-from-env-var.test.ts @@ -165,7 +165,17 @@ describe("models-config", () => { baseUrl: "https://config.example/v1", apiKey: "CONFIG_KEY", api: "openai-responses", - models: [{ id: "config-model", name: "Config model", input: ["text"] }], + models: [ + { + id: "config-model", + name: "Config model", + input: ["text"], + reasoning: false, + cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, + contextWindow: 8192, + maxTokens: 2048, + }, + ], }, }, }, @@ -210,7 +220,17 @@ describe("models-config", () => { baseUrl: "https://config.example/v1", apiKey: "CONFIG_KEY", api: "openai-responses", - models: [{ id: "config-model", name: "Config model", input: ["text"] }], + models: [ + { + id: "config-model", + name: "Config model", + input: ["text"], + reasoning: false, + cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, + contextWindow: 8192, + maxTokens: 2048, + }, + ], }, }, },