Spaces:
Configuration error
Configuration error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -22,8 +22,6 @@ def run_agent(level, question, file_name):
|
|
| 22 |
agent = CodeAgent(
|
| 23 |
add_base_tools = True,
|
| 24 |
additional_authorized_imports = ["pandas", "numpy"],
|
| 25 |
-
executor_type = "e2b", # Remote sandbox: https://e2b.dev/dashboard/
|
| 26 |
-
executor_kwargs = {"api_key": os.getenv("E2B_API_KEY")},
|
| 27 |
max_steps = max_steps,
|
| 28 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 29 |
#planning_interval=3,
|
|
|
|
| 22 |
agent = CodeAgent(
|
| 23 |
add_base_tools = True,
|
| 24 |
additional_authorized_imports = ["pandas", "numpy"],
|
|
|
|
|
|
|
| 25 |
max_steps = max_steps,
|
| 26 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 27 |
#planning_interval=3,
|