Spaces:
Running
Running
fix system prompt
Browse files
app.py
CHANGED
@@ -44,6 +44,57 @@ DEFAULT_SYSTEM_PROMPT = """You are a coding agent with access to a Jupyter Kerne
|
|
44 |
When possible break down tasks step-by-step. \
|
45 |
The following files are available (if any):
|
46 |
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
"""
|
48 |
|
49 |
def execute_jupyter_agent(
|
|
|
44 |
When possible break down tasks step-by-step. \
|
45 |
The following files are available (if any):
|
46 |
{}
|
47 |
+
|
48 |
+
List of available packages:
|
49 |
+
# Jupyter server requirements
|
50 |
+
jupyter-server==2.16.0
|
51 |
+
ipykernel==6.29.5
|
52 |
+
ipython==9.2.0
|
53 |
+
|
54 |
+
orjson==3.10.18
|
55 |
+
pandas==2.2.3
|
56 |
+
matplotlib==3.10.3
|
57 |
+
pillow==11.3.0
|
58 |
+
|
59 |
+
# Latest version for
|
60 |
+
e2b_charts
|
61 |
+
|
62 |
+
# Other packages
|
63 |
+
aiohttp==3.12.14
|
64 |
+
beautifulsoup4==4.13.4
|
65 |
+
bokeh==3.7.3
|
66 |
+
gensim==4.3.3 # unmaintained, blocking numpy and scipy bump
|
67 |
+
imageio==2.37.0
|
68 |
+
joblib==1.5.0
|
69 |
+
librosa==0.11.0
|
70 |
+
nltk==3.9.1
|
71 |
+
numpy==1.26.4 # bump blocked by gensim
|
72 |
+
numba==0.61.2
|
73 |
+
opencv-python==4.11.0.86
|
74 |
+
openpyxl==3.1.5
|
75 |
+
plotly==6.0.1
|
76 |
+
kaleido==1.0.0
|
77 |
+
pytest==8.3.5
|
78 |
+
python-docx==1.1.2
|
79 |
+
pytz==2025.2
|
80 |
+
requests==2.32.4
|
81 |
+
scikit-image==0.25.2
|
82 |
+
scikit-learn==1.6.1
|
83 |
+
scipy==1.13.1 # bump blocked by gensim
|
84 |
+
seaborn==0.13.2
|
85 |
+
soundfile==0.13.1
|
86 |
+
spacy==3.8.2 # doesn't work on 3.13.x
|
87 |
+
textblob==0.19.0
|
88 |
+
tornado==6.5.1
|
89 |
+
urllib3==2.5.0
|
90 |
+
xarray==2025.4.0
|
91 |
+
xlrd==2.0.1
|
92 |
+
sympy==1.14.0
|
93 |
+
|
94 |
+
If you need to install additional packages:
|
95 |
+
1. install uv first with `pip install uv`
|
96 |
+
2. then use uv to install the package with `uv pip install PACKAGE_NAME --system`.
|
97 |
+
|
98 |
"""
|
99 |
|
100 |
def execute_jupyter_agent(
|