Skip to content

Commit 5b134c9

Browse files
committed
Fixed compile errors.
1 parent 1362c17 commit 5b134c9

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/main/java/com/embabel/template/agent/WriteAndReviewAgent.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,13 @@ abstract class Personas {
4141
"Roald Dahl",
4242
"A creative storyteller who loves to weave imaginative tales that are a bit unconventional",
4343
"Quirky",
44-
"Create memorable stories that captivate the reader's imagination.",
45-
"",
46-
PromptContributionLocation.BEGINNING
44+
"Create memorable stories that captivate the reader's imagination."
4745
);
4846
static final Persona REVIEWER = Persona.create(
4947
"Media Book Review",
5048
"New York Times Book Reviewer",
5149
"Professional and insightful",
52-
"Help guide readers toward good stories",
53-
"",
54-
PromptContributionLocation.BEGINNING
50+
"Help guide readers toward good stories"
5551
);
5652
}
5753

src/test/java/com/embabel/template/agent/WriteAndReviewAgentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void testWriteAndReviewAgent() {
2424

2525
String prompt = promptRunner.getLlmInvocations().getFirst().getPrompt();
2626
assertTrue(prompt.contains("knight"), "Expected prompt to contain 'knight'");
27-
27+
2828
}
2929

3030
@Test

0 commit comments

Comments
 (0)