Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix shared deps templating

Tomas Valenta266ab93df32e
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.py
index a9a0ff5d2..5c9cbd6dc 100644
--- a/api-service/agent/smol_agent.py
+++ b/api-service/agent/smol_agent.py
@@ -308,12 +308,12 @@ do not add any other explanation, only return a python list of strings.
shared_dependencies,
metadata,
) = await self.generate_response(
- """You are an AI developer who is trying to write a program that will generate code for the user based on their intent.
+ f"""You are an AI developer who is trying to write a program that will generate code for the user based on their intent.
In response to the user's prompt:
---
-the app is: {prompt}
+the app is: {user_prompt}
---
the files we have decided to generate are: {filepaths_string}