You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let user_messages_text = if user_messages.is_empty(){
87
+
"(none)".to_string()
88
+
}else{
89
+
user_messages.join("\n\n")
90
+
};
91
+
let summary_text = if summary_text.is_empty(){
92
+
"(no summary available)".to_string()
93
+
}else{
94
+
summary_text.to_string()
95
+
};
96
+
let bridge = format!(
97
+
"You were originally given instructions from a user over one or more turns. Here were the user messages:\n\n{user_messages_text}\n\nAnother language model started to solve this problem and produced a summary of its thinking process. You also have access to the state of the tools that were used by that language model. Use this to build on the work that has already been done and avoid duplicating work. Here is the summary produced by the other language model, use the information in this summary to assist with your own analysis:\n\n{summary_text}"
0 commit comments