Spaces:
Sleeping
Sleeping
add requests module to additional_authorized_imports
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ class BasicAgent:
|
|
| 59 |
],
|
| 60 |
model=model,
|
| 61 |
step_callbacks=[rate_limiter.increment_and_sleep_if_needed],
|
| 62 |
-
additional_authorized_imports=["pandas", "openpyxl"],
|
| 63 |
instructions=CUSTOM_PROMPT
|
| 64 |
)
|
| 65 |
print("BasicAgent initialized.")
|
|
|
|
| 59 |
],
|
| 60 |
model=model,
|
| 61 |
step_callbacks=[rate_limiter.increment_and_sleep_if_needed],
|
| 62 |
+
additional_authorized_imports=["pandas", "openpyxl", "requests"],
|
| 63 |
instructions=CUSTOM_PROMPT
|
| 64 |
)
|
| 65 |
print("BasicAgent initialized.")
|