Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ import time
|
|
6 |
import datetime
|
7 |
|
8 |
current_date = datetime.datetime.now().strftime("%d:%m:%Y")
|
|
|
9 |
|
10 |
web_search = DuckDuckGoSearchTool()
|
11 |
|
@@ -13,6 +14,7 @@ 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.
|
|
|
6 |
import datetime
|
7 |
|
8 |
current_date = datetime.datetime.now().strftime("%d:%m:%Y")
|
9 |
+
current_time = datetime.now().strftime("%H:%M")
|
10 |
|
11 |
web_search = DuckDuckGoSearchTool()
|
12 |
|
|
|
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 |
Current date: {current_date}
|
17 |
+
Current time: {current_time}
|
18 |
|
19 |
**Core Principles:**
|
20 |
1. **Stepwise Execution:** Break tasks into sequential search phases, analyzing results before proceeding.
|