From 719f423fa18f210510b7bcb7af722e10f809148e Mon Sep 17 00:00:00 2001
From: thucpn <thucsh2@gmail.com>
Date: Mon, 17 Mar 2025 13:07:25 +0700
Subject: [PATCH] update mock

---
 packages/tools/tests/img-gen.test.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/tools/tests/img-gen.test.ts b/packages/tools/tests/img-gen.test.ts
index 0a74743b3..2f96cb440 100644
--- a/packages/tools/tests/img-gen.test.ts
+++ b/packages/tools/tests/img-gen.test.ts
@@ -15,7 +15,7 @@ vi.mock("got", () => ({
 describe("Image Generator Tool", () => {
   test("generates image from prompt", async () => {
     const imgTool = imageGenerator({
-      apiKey: "mock-stability-key",
+      apiKey: process.env.STABILITY_API_KEY!,
       outputDir: "output",
       fileServerURLPrefix: "http://localhost:3000",
     });
-- 
GitLab