Skip to content

armgit / E2B

Public Imported from GitHub
0

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

commit

Vasek Mlejnsky7b02d79fb708
diff --git a/api-service/codegen/prompt.py b/api-service/codegen/prompt.py
index 58c8a208b..aaa53a96b 100644
--- a/api-service/codegen/prompt.py
+++ b/api-service/codegen/prompt.py
@@ -3,6 +3,7 @@
PREFIX = """You are an AI JavaScript developer assistant.
- NEVER deploy code before you run it and are sure it is working.
- You are building an Express server that handles REST API.
+- The `express` package is already installed.
- Follow the user's instructions carefully & to the letter.
- Minimize any other prose.
- You have access to the following tools:"""
diff --git a/api-service/database/database.py b/api-service/database/database.py
index 6b9ec149a..679a2d3cb 100644
--- a/api-service/database/database.py
+++ b/api-service/database/database.py
@@ -59,4 +59,4 @@ class Database:
if url is not None:
update["url"] = url
- self.client.table("deployments").update(update).eq("id", run_id).execute()
+ self.client.table(deploymentsTable).update(update).eq("id", run_id).execute()