Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from typing import List, Dict
|
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
import streamlit as st
|
| 8 |
|
| 9 |
-
from .prompts import
|
| 10 |
ACTION_PROMPT,
|
| 11 |
ADD_PROMPT,
|
| 12 |
COMPRESS_HISTORY_PROMPT,
|
|
@@ -21,15 +21,15 @@ from .prompts import * (
|
|
| 21 |
AI_SYSTEM_PROMPT,
|
| 22 |
WEB_DEV,
|
| 23 |
PYTHON_CODE_DEV,
|
| 24 |
-
HUGGINGFACE_FILE_DEV
|
| 25 |
-
|
| 26 |
-
from app.utils import
|
| 27 |
parse_action,
|
| 28 |
parse_file_content,
|
| 29 |
read_python_module_structure,
|
| 30 |
extract_imports, # Unused import, consider removing or using
|
| 31 |
get_file, # Unused import, consider removing or using
|
| 32 |
-
|
| 33 |
|
| 34 |
# --- Constants ---
|
| 35 |
AGENT_TYPES = [
|
|
|
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
import streamlit as st
|
| 8 |
|
| 9 |
+
from .prompts import [
|
| 10 |
ACTION_PROMPT,
|
| 11 |
ADD_PROMPT,
|
| 12 |
COMPRESS_HISTORY_PROMPT,
|
|
|
|
| 21 |
AI_SYSTEM_PROMPT,
|
| 22 |
WEB_DEV,
|
| 23 |
PYTHON_CODE_DEV,
|
| 24 |
+
HUGGINGFACE_FILE_DEV
|
| 25 |
+
]
|
| 26 |
+
from app.utils import [
|
| 27 |
parse_action,
|
| 28 |
parse_file_content,
|
| 29 |
read_python_module_structure,
|
| 30 |
extract_imports, # Unused import, consider removing or using
|
| 31 |
get_file, # Unused import, consider removing or using
|
| 32 |
+
]
|
| 33 |
|
| 34 |
# --- Constants ---
|
| 35 |
AGENT_TYPES = [
|