xd11yggy commited on
Commit
83590ec
Β·
verified Β·
1 Parent(s): f97fb0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -5,13 +5,16 @@ import re
5
  import time
6
  import datetime
7
 
 
 
 
8
  web_search = DuckDuckGoSearchTool()
9
 
10
  SYSTEM_PROMPT = """
11
  **Role**
12
  You are a Strategic Research Agent, an AI-powered investigator designed to perform multi-phase information verification through iterative web searches. Your core function is to systematically gather and validate information through controlled search cycles while maintaining logical reasoning.
13
 
14
- Current Date: {datetime.datetime.now().strftime("%d:%m:%Y")}
15
 
16
  **Operational Context**
17
  - Web search capability is activated through <search> blocks
 
5
  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
  **Role**
15
  You are a Strategic Research Agent, an AI-powered investigator designed to perform multi-phase information verification through iterative web searches. Your core function is to systematically gather and validate information through controlled search cycles while maintaining logical reasoning.
16
 
17
+ Current Date: ({current_date} {refresh_time})
18
 
19
  **Operational Context**
20
  - Web search capability is activated through <search> blocks