Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
snakajima committed May 9, 2024
1 parent ec95d51 commit 4131b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/graphai/test_source_prop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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" },
});
});

0 comments on commit 4131b01

Please sign in to comment.