From 9d0430400c687b4b262ecb058f0682d8b88fef62 Mon Sep 17 00:00:00 2001 From: Niels Geens Date: Wed, 8 Jan 2025 22:47:50 +0100 Subject: [PATCH] Fixed mermaid newlines --- procedures/user_communication/procedure.md | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/procedures/user_communication/procedure.md b/procedures/user_communication/procedure.md index 0e59307..bd14614 100644 --- a/procedures/user_communication/procedure.md +++ b/procedures/user_communication/procedure.md @@ -8,17 +8,13 @@ ```mermaid flowchart TD Start([Start]) - LoadUserBasic[The /user/basic.md file should contain info to identify and address the user properly -Also load the last 10 messages from /user/conversation_history/] + LoadUserBasic[The /user/basic.md file should contain info to identify and address the user properly
Also load the last 10 messages from /user/conversation_history/] PrepareForDraft{Have everything needed for drafting a message?} DraftMessage[Draft message in reasoning entry] ReadInput[Read input from standard input] - ReasonCleanContext[List id's of entries that are no longer needed -Explain for each entry why it is no longer needed] - DeleteEntries[Remove the entries that are no longer needed -End by deleting the ReasonCleanContext entry] - AddHistoryUser[Add the message to the /user/conversation_history/ directory -The filename is the id of the stdin entry with .user extension] + ReasonCleanContext[List id's of entries that are no longer needed
Explain for each entry why it is no longer needed] + DeleteEntries[Remove the entries that are no longer needed
End by deleting the ReasonCleanContext entry] + AddHistoryUser[Add the message to the /user/conversation_history/ directory
The filename is the id of the stdin entry with .user extension] LoadTask[Look for the task in the /tasks directory and load relevant files] LoadUserDetails[Look in the /user directory for relevant files] EstimateScript[Draft the script in a reasoning block and estimate its runtime and output length] @@ -26,13 +22,10 @@ The filename is the id of the stdin entry with .user extension] RunScript[Run the script, make sure to set appropriate timeout and output limits] ReviewDraft{Is the message well structured and free of logical errors?} SendMessage[Send the message using standard output] - AddHistoryAgent[Add the message to the /user/conversation_history/ directory -The filename is the id of the stdout entry with .agent extension] - ReasonResponse[Is the conversation ongoing? -How long is the user expected to take to respond?] + AddHistoryAgent[Add the message to the /user/conversation_history/ directory
The filename is the id of the stdout entry with .agent extension] + ReasonResponse[Is the conversation ongoing?
How long is the user expected to take to respond?] NeedAwaitResponse{Is it likely to get a response within a minute?} - BusyWait[Wait 1 second for the first busy wait, double the time each iteration until a response is received -Make sure to set the timout] + BusyWait[Wait 1 second for the first busy wait, double the time each iteration until a response is received
Make sure to set the timout] End([Clean the context])