Skip to content

Commit f34ad3a

Browse files
committed
Don't need GPT-5 for writeup
1 parent 05b7f60 commit f34ad3a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ ReviewedStory reviewStory(UserInput userInput, Story story, OperationContext con
138138
Story craftStory(UserInput userInput, OperationContext context) {
139139
return context.ai()
140140
// Higher temperature for more creative output
141-
.withLlm(LlmOptions.withModel(OpenAiModels.GPT_5).withTemperature(.7))
141+
.withLlm(LlmOptions
142+
.withModel(OpenAiModels.GPT_41_MINI)
143+
.withTemperature(.7))
142144
.withPromptContributor(Personas.WRITER)
143145
.createObject(String.format("""
144146
Craft a short story in %d words or less.

0 commit comments

Comments
 (0)