tools fix and formatting (#2441)
This commit is contained in:
@@ -208,11 +208,12 @@ Please note to return the IDs in the output from the input IDs only and do not g
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
def get_update_memory_messages(retrieved_old_memory_dict, response_content, custom_update_memory_prompt=None):
|
||||
if custom_update_memory_prompt is None:
|
||||
global DEFAULT_UPDATE_MEMORY_PROMPT
|
||||
custom_update_memory_prompt = DEFAULT_UPDATE_MEMORY_PROMPT
|
||||
|
||||
|
||||
return f"""{custom_update_memory_prompt}
|
||||
|
||||
Below is the current content of my memory which I have collected till now. You have to update it in the following format only:
|
||||
@@ -250,4 +251,4 @@ def get_update_memory_messages(retrieved_old_memory_dict, response_content, cust
|
||||
- If there is an update, the ID key should remain the same and only the value needs to be updated.
|
||||
|
||||
Do not return anything except the JSON format.
|
||||
"""
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user