Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix decrypted column name when triggering interaction without ready deployment

Tomas Valentab7d9d847cad9
diff --git a/api-service/app.py b/api-service/app.py
index bc57210fb..800eb10d3 100644
--- a/api-service/app.py
+++ b/api-service/app.py
@@ -170,8 +170,8 @@ async def interact_with_agent_deployment(
db_deployment["id"],
db_deployment["project_id"],
db_deployment["config"],
- json.loads(db_deployment["secrets"])
- if db_deployment["secrets"]
+ json.loads(db_deployment["decrypted_secrets"])
+ if db_deployment.get("decrypted_secrets", None)
else {},
)
else: