Skip to content

Commit 371e59e

Browse files
Update _posts/2026-05-18-introducing-voting-agent.adoc
Co-authored-by: Clement Escoffier <clement.escoffier@gmail.com>
1 parent 5bf6bbf commit 371e59e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_posts/2026-05-18-introducing-voting-agent.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ StoryEditor storyEditor = AgenticServices.agentBuilder(StoryEditor.class)
298298

299299
In this configuration, the editor starts with `baseModel()` for all iterations where the critique score is 7.8 or below. Once the critics' average score exceeds 7.8, indicating that the story has reached a level of quality where finer editorial judgment matters, the selector switches to `enhancedModel()` for the subsequent iterations.
300300

301-
Looking back at the execution log, this transition is clearly visible. During the first two iterations the story editor is invoked with `gpt-4o-mini`. In the third iteration, after the critics' average score crosses the 7.8 threshold, the editor transparently switches to `gpt-5.1` for the remaining refinements.
301+
Looking back at the execution log, this transition is clearly visible. During the first two iterations, the story editor is invoked with `gpt-4o-mini`. In the third iteration, after the critics' average score crosses the 7.8 threshold, the editor transparently switches to `gpt-5.1` for the remaining refinements.
302302

303303
This approach provides a practical way to balance cost and quality. The cheaper model handles the bulk of the iterative refinement, and the more expensive one is brought in only for the final passes where its additional capabilities can make a real difference. The decision is driven entirely by the runtime state of the agentic system, with no manual intervention required.
304304

0 commit comments

Comments
 (0)