Spaces:
Build error
Build error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -8,6 +8,16 @@ from safe_search import safe_search
|
|
| 8 |
from i_search import google, i_search as i_s
|
| 9 |
|
| 10 |
ACTION_PROMPT = "Enter the action to be performed"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
class AIAssistant:
|
| 13 |
def __init__(self):
|
|
|
|
| 8 |
from i_search import google, i_search as i_s
|
| 9 |
|
| 10 |
ACTION_PROMPT = "Enter the action to be performed"
|
| 11 |
+
ADD_PROMPT = "Enter the prompt to add"
|
| 12 |
+
COMPRESS_HISTORY_PROMPT = "Enter the prompt to compress history"
|
| 13 |
+
LOG_PROMPT = "Enter the prompt to log"
|
| 14 |
+
LOG_RESPONSE = "Enter the response to log"
|
| 15 |
+
MODIFY_PROMPT = "Enter the prompt to modify"
|
| 16 |
+
PREFIX = "Enter the prefix"
|
| 17 |
+
SEARCH_QUERY = "Enter the search query"
|
| 18 |
+
READ_PROMPT = "Enter the prompt to read"
|
| 19 |
+
TASK_PROMPT = "Enter the prompt to perform a task"
|
| 20 |
+
UNDERSTAND_TEST_RESULTS_PROMPT = "Enter the prompt to understand test results"
|
| 21 |
|
| 22 |
class AIAssistant:
|
| 23 |
def __init__(self):
|