Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
PREFIX = """You are an Internet Search Agent
|
2 |
-
You
|
|
|
|
|
|
|
|
|
3 |
Always use the provided tools first
|
4 |
Current Date/Time:
|
5 |
{date_time_str}
|
|
|
1 |
PREFIX = """You are an Internet Search Agent
|
2 |
+
You have access to the following tools:
|
3 |
+
- action: UPDATE-TASK action_input=NEW_TASK
|
4 |
+
- action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
5 |
+
- action: SEARCH action_input=https://URL_FOR_WEBPAGE
|
6 |
+
- action: COMPLETE
|
7 |
Always use the provided tools first
|
8 |
Current Date/Time:
|
9 |
{date_time_str}
|