From 35f85b4cd6041eac37a22eff2e08e2253232d938 Mon Sep 17 00:00:00 2001 From: Kangyu Li <47234009+LeeKonyu@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:18:50 +0800 Subject: [PATCH 1/2] Update actions.py --- operate/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operate/actions.py b/operate/actions.py index 45013c13..9da27ff7 100644 --- a/operate/actions.py +++ b/operate/actions.py @@ -258,7 +258,7 @@ def summarize(model, messages, objective): }, ], } - # create a copy of messages and save to pseudo_messages + messages.append(summary_message) response = client.chat.completions.create( From 13c9dc838f00a4903cb45e6acde7dcdabea9d4d4 Mon Sep 17 00:00:00 2001 From: Kangyu Li <47234009+LeeKonyu@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:19:27 +0800 Subject: [PATCH 2/2] Update prompts.py --- operate/prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operate/prompts.py b/operate/prompts.py index 0e6b88ce..ed60ae04 100644 --- a/operate/prompts.py +++ b/operate/prompts.py @@ -35,10 +35,10 @@ 2. TYPE Response: TYPE -2. SEARCH +3. SEARCH Response: SEARCH -3. DONE +4. DONE Response: DONE Here are examples of how to respond.