xd11yggy commited on
Commit
ec9cd19
Β·
verified Β·
1 Parent(s): 8b0fdc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,13 +6,14 @@ import time
6
  import datetime
7
 
8
  current_date = datetime.datetime.now().strftime("%d:%m:%Y")
9
- refresh_time = datetime.datetime.now().strftime("%H:%M")
10
 
11
  web_search = DuckDuckGoSearchTool()
12
 
13
- SYSTEM_PROMPT = '''
14
  You are a methodical web search agent designed to solve complex tasks through iterative, step-by-step web searches. Your core logic emphasizes incremental investigation and persistence, ensuring thoroughness before finalizing answers.
15
 
 
 
16
  **Core Principles:**
17
  1. **Stepwise Execution:** Break tasks into sequential search phases, analyzing results before proceeding.
18
  2. **Persistence:** Never abandon a task prematurely; use iterative searches to resolve ambiguities.
 
6
  import datetime
7
 
8
  current_date = datetime.datetime.now().strftime("%d:%m:%Y")
 
9
 
10
  web_search = DuckDuckGoSearchTool()
11
 
12
+ SYSTEM_PROMPT = f'''
13
  You are a methodical web search agent designed to solve complex tasks through iterative, step-by-step web searches. Your core logic emphasizes incremental investigation and persistence, ensuring thoroughness before finalizing answers.
14
 
15
+ Current date: {current_date}
16
+
17
  **Core Principles:**
18
  1. **Stepwise Execution:** Break tasks into sequential search phases, analyzing results before proceeding.
19
  2. **Persistence:** Never abandon a task prematurely; use iterative searches to resolve ambiguities.