Skip to content

Commit

Permalink
First draft page to draft from beginning of outline (#289)
Browse files Browse the repository at this point in the history
To fix bug, where first call to draft page does not always start with
beginning of outline.
  • Loading branch information
momuno authored Dec 13, 2024
1 parent 1b2de09 commit 59d2e59
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,9 @@ def _content_system_message(content: str) -> ChatCompletionSystemMessageParam:
# "outline draft. Provide ONLY any outline. Provide no further instructions to the user.")

draft_content_continue_main_system_message = (
"Following the structure of the outline, create the content for the next (or first) page of the"
" document - don't try to create the entire document in one pass nor wrap it up too quickly, it will be a"
"Following the structure of the provided outline, create the content for the next page of the"
" document. If there is no existing content supplied, start with the beginning of the provided outline to create the first page of content."
" Don't try to create the entire document in one pass nor wrap it up too quickly, it will be a"
" multi-page document so just create the next page. It's more important to maintain"
" an appropriately useful level of detail. After this page is generated, the system will follow up"
" and ask for the next page. If you have already generated all the pages for the"
Expand Down

0 comments on commit 59d2e59

Please sign in to comment.