Skip to content

Commit 1f6f8b0

Browse files
committed
Remove unnecessary Companion reference
1 parent 9fddf9f commit 1f6f8b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737

3838

3939
abstract class Personas {
40-
static final Persona WRITER = Persona.Companion.create(
40+
static final Persona WRITER = Persona.create(
4141
"Roald Dahl",
4242
"A creative storyteller who loves to weave imaginative tales that are a bit unconventional",
4343
"Quirky",
4444
"Create memorable stories that captivate the reader's imagination.",
4545
"",
4646
PromptContributionLocation.BEGINNING
4747
);
48-
static final Persona REVIEWER = Persona.Companion.create(
48+
static final Persona REVIEWER = Persona.create(
4949
"Media Book Review",
5050
"New York Times Book Reviewer",
5151
"Professional and insightful",
@@ -126,7 +126,7 @@ Story craftStory(UserInput userInput) {
126126
).trim(), Story.class);
127127
}
128128

129-
@AchievesGoal(description="The user has been greeted")
129+
@AchievesGoal(description="The story has been crafted and reviewed by a book reviewer")
130130
@Action
131131
ReviewedStory reviewStory(UserInput userInput, Story story, OperationContext context) {
132132
String review = context.promptRunner()

0 commit comments

Comments
 (0)