Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,12 +18,12 @@ MAX_HISTORY = 100
|
|
18 |
MODEL = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
19 |
|
20 |
# Import necessary prompts and functions from the existing code
|
21 |
-
from
|
22 |
ACTION_PROMPT, ADD_PROMPT, COMPRESS_HISTORY_PROMPT, LOG_PROMPT,
|
23 |
LOG_RESPONSE, MODIFY_PROMPT, PREFIX, READ_PROMPT, TASK_PROMPT,
|
24 |
UNDERSTAND_TEST_RESULTS_PROMPT,
|
25 |
)
|
26 |
-
from
|
27 |
|
28 |
class Agent:
|
29 |
def __init__(self, name: str, agent_type: str, complexity: int):
|
|
|
18 |
MODEL = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
19 |
|
20 |
# Import necessary prompts and functions from the existing code
|
21 |
+
from /.prompts import (
|
22 |
ACTION_PROMPT, ADD_PROMPT, COMPRESS_HISTORY_PROMPT, LOG_PROMPT,
|
23 |
LOG_RESPONSE, MODIFY_PROMPT, PREFIX, READ_PROMPT, TASK_PROMPT,
|
24 |
UNDERSTAND_TEST_RESULTS_PROMPT,
|
25 |
)
|
26 |
+
from /.utils import parse_action, parse_file_content, read_python_module_structure
|
27 |
|
28 |
class Agent:
|
29 |
def __init__(self, name: str, agent_type: str, complexity: int):
|