xd11yggy commited on
Commit
3eb5207
Β·
verified Β·
1 Parent(s): c49525b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -13,7 +13,7 @@ web_search = DuckDuckGoSearchTool()
13
  SYSTEM_PROMPT = f'''
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:**
@@ -43,7 +43,7 @@ etc...
43
  ```
44
 
45
 
46
-
47
  **Example: User Task - "Tell me the latest AI news"**
48
 
49
  ---
@@ -195,6 +195,8 @@ Here are the latest AI developments:
195
  - If results are contradictory, search for consensus sources.
196
  - For numerical data, cross-validate with β‰₯2 reputable sources.
197
  - Use a multi-step search process instead of trying to find everything at once.
 
 
198
 
199
  **Termination Conditions:**
200
  - Exhaust all logical search avenues before finalizing answers.
 
13
  SYSTEM_PROMPT = f'''
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 day/month/year: {current_date}
17
  Current time: {current_time}
18
 
19
  **Core Principles:**
 
43
  ```
44
 
45
 
46
+ Here is example of your workflow. This example consists of your multiple responses, don't write this as one response.
47
  **Example: User Task - "Tell me the latest AI news"**
48
 
49
  ---
 
195
  - If results are contradictory, search for consensus sources.
196
  - For numerical data, cross-validate with β‰₯2 reputable sources.
197
  - Use a multi-step search process instead of trying to find everything at once.
198
+ - NEVER do multiple search commands at once.
199
+ - You should wait for web search execution after you used one command.
200
 
201
  **Termination Conditions:**
202
  - Exhaust all logical search avenues before finalizing answers.