Minor Fixes - #19
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The changes are low-risk and localized, with only a minor prompt field-name consistency nit identified.
Pull request overview
This PR makes small behavior/configuration tweaks to the blog-writing workflow, tightening the revision cap used by the blogger prompt and making chat generation deterministic.
Changes:
- Align the blogger prompt’s revision termination rule with a lower revision cap (
>= 2). - Remove redundant console logging for invalid OpenAI base URI and rely on the thrown exception.
- Set
ChatOptions.Temperature = 0for deterministic model output.
File summaries
| File | Description |
|---|---|
| Prompts.cs | Updates blogger decision rules to end after fewer revisions. |
| Program.cs | Adjusts configuration comments/behavior, removes redundant logging, and sets deterministic chat options. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
26
to
+27
| - If the draft needs revision, choose "author" | ||
| - If revision_number >= 4, choose "END" | ||
| - If revision_number >= 2, choose "END" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.