From f494e46ea055215c17aae31f56f605c70638cf5a Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 7 Mar 2026 17:59:41 -0800 Subject: [PATCH] Ollama: allowlist test api keys --- src/agents/ollama-stream.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/agents/ollama-stream.test.ts b/src/agents/ollama-stream.test.ts index f800bd4d6dc..2af5e490c7f 100644 --- a/src/agents/ollama-stream.test.ts +++ b/src/agents/ollama-stream.test.ts @@ -433,7 +433,7 @@ describe("createOllamaStreamFn", () => { Authorization: "Bearer proxy-token", }, options: { - apiKey: "ollama-local", + apiKey: "ollama-local", // pragma: allowlist secret headers: { Authorization: "Bearer proxy-token", }, @@ -471,7 +471,7 @@ describe("createOllamaStreamFn", () => { messages: [{ role: "user", content: "hello" }], } as never, { - apiKey: "real-token", + apiKey: "real-token", // pragma: allowlist secret } as never, ), ); @@ -621,7 +621,7 @@ describe("createConfiguredOllamaStreamFn", () => { messages: [{ role: "user", content: "hello" }], } as never, { - apiKey: "ollama-local", + apiKey: "ollama-local", // pragma: allowlist secret } as never, ), );