From 4131b0138641493a2169db1b3348c88d80c32792 Mon Sep 17 00:00:00 2001 From: snakajima Date: Wed, 8 May 2024 21:01:27 -0700 Subject: [PATCH] fix template --- tests/graphai/test_source_prop.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/graphai/test_source_prop.ts b/tests/graphai/test_source_prop.ts index 76d861c79..3f301c517 100644 --- a/tests/graphai/test_source_prop.ts +++ b/tests/graphai/test_source_prop.ts @@ -42,7 +42,7 @@ const graphData_literal = { step1: { agent: "stringTemplateAgent", params: { - template: "${0}, ${1}, ${2}", + template: "${0}, ${1}, ${2}.", }, inputs: ["source", "\"orange\"", undefined], isResult: true, @@ -58,7 +58,7 @@ const graphData_literal = { test("test retry", async () => { const result = await graphDataTestRunner(__filename, graphData_literal, defaultTestAgents, () => {}, false); assert.deepStrictEqual(result, { - step1: "apple, orange, undefined", + step1: "apple, orange, undefined.", step2: { apple: "red", lemon: "yellow" }, }); });