Fixed mermaid newlines
This commit is contained in:
@@ -8,17 +8,13 @@
|
|||||||
```mermaid
|
```mermaid
|
||||||
flowchart TD
|
flowchart TD
|
||||||
Start([Start])
|
Start([Start])
|
||||||
LoadUserBasic[The /user/basic.md file should contain info to identify and address the user properly
|
LoadUserBasic[The /user/basic.md file should contain info to identify and address the user properly<br>Also load the last 10 messages from /user/conversation_history/]
|
||||||
Also load the last 10 messages from /user/conversation_history/]
|
|
||||||
PrepareForDraft{Have everything needed for drafting a message?}
|
PrepareForDraft{Have everything needed for drafting a message?}
|
||||||
DraftMessage[Draft message in reasoning entry]
|
DraftMessage[Draft message in reasoning entry]
|
||||||
ReadInput[Read input from standard input]
|
ReadInput[Read input from standard input]
|
||||||
ReasonCleanContext[List id's of entries that are no longer needed
|
ReasonCleanContext[List id's of entries that are no longer needed<br>Explain for each entry why it is no longer needed]
|
||||||
Explain for each entry why it is no longer needed]
|
DeleteEntries[Remove the entries that are no longer needed<br>End by deleting the ReasonCleanContext entry]
|
||||||
DeleteEntries[Remove the entries that are no longer needed
|
AddHistoryUser[Add the message to the /user/conversation_history/ directory<br>The filename is the id of the stdin entry with .user extension]
|
||||||
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]
|
LoadTask[Look for the task in the /tasks directory and load relevant files]
|
||||||
LoadUserDetails[Look in the /user directory for 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]
|
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]
|
RunScript[Run the script, make sure to set appropriate timeout and output limits]
|
||||||
ReviewDraft{Is the message well structured and free of logical errors?}
|
ReviewDraft{Is the message well structured and free of logical errors?}
|
||||||
SendMessage[Send the message using standard output]
|
SendMessage[Send the message using standard output]
|
||||||
AddHistoryAgent[Add the message to the /user/conversation_history/ directory
|
AddHistoryAgent[Add the message to the /user/conversation_history/ directory<br>The filename is the id of the stdout entry with .agent extension]
|
||||||
The filename is the id of the stdout entry with .agent extension]
|
ReasonResponse[Is the conversation ongoing?<br>How long is the user expected to take to respond?]
|
||||||
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?}
|
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
|
BusyWait[Wait 1 second for the first busy wait, double the time each iteration until a response is received<br>Make sure to set the timout]
|
||||||
Make sure to set the timout]
|
|
||||||
|
|
||||||
End([Clean the context])
|
End([Clean the context])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user