Skip to content

Commit 029d434

Browse files
committed
More optimized memory INCLUDED
1 parent 396606d commit 029d434

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

agents/generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def create_prompt(self, query: str, context_chunks: list[dict], query_analysis:
4040
4141
Current date and time:
4242
{datetime.now().strftime('%Y-%m-%d')}
43+
4344
"""
4445

4546
# Customize instructions based on query type

web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def reasoning_agent(query, context_chunks, chat_history=None):
102102
103103
Current date and time: {datetime.now().strftime('%Y-%m-%d')}
104104
105-
# MEMORY SYSTEM
105+
# IMPORTANT: If the textbook content provided does not have the relevent information, Use the chat history:
106106
{conversation if chat_history else "No prior conversation history"}
107107
108108
📘 Textbook Context:

0 commit comments

Comments
 (0)