mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Change "system" role to "Your Computer".
This commit is contained in:
@@ -58,7 +58,9 @@ def update_running_summary(current_memory: str, new_events: List[Dict]) -> str:
|
||||
# Replace "assistant" with "you". This produces much better first person past tense results.
|
||||
for event in new_events:
|
||||
if event["role"] == "assistant":
|
||||
event["role"] = "you"
|
||||
event["role"] = "Me"
|
||||
elif event["role"] == "system":
|
||||
event["role"] = "Your Computer"
|
||||
|
||||
# This can happen at any point during execturion, not just the beginning
|
||||
if (len(new_events) == 0):
|
||||
|
||||
Reference in New Issue
Block a user