Update agent.py
Browse files
agent.py
CHANGED
@@ -392,6 +392,9 @@ safe_globals = {
|
|
392 |
|
393 |
# Scientific Computing
|
394 |
"sympy": __import__("sympy"),
|
|
|
|
|
|
|
395 |
}
|
396 |
|
397 |
def execute_python_code(code: str) -> str:
|
|
|
392 |
|
393 |
# Scientific Computing
|
394 |
"sympy": __import__("sympy"),
|
395 |
+
|
396 |
+
# llama-index
|
397 |
+
"llama-index" : __import__("llama_index")
|
398 |
}
|
399 |
|
400 |
def execute_python_code(code: str) -> str:
|