Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix group id generation

Tomas Valenta514726001239
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.py
index a6eff88a7..b9e2c8acf 100644
--- a/api-service/agent/smol_agent.py
+++ b/api-service/agent/smol_agent.py
@@ -325,11 +325,10 @@ do not add any other explanation, only return a python list of strings.
user_prompt,
)
- group_id = str(uuid.uuid4())
await self.on_logs(
{
"group": {
- "id": group_id,
+ "id": str(uuid.uuid4()),
"message": "Create a list of filepaths",
},
"message": f"Called OpenAI",
@@ -442,7 +441,7 @@ Exclusively focus on the names of the shared dependencies, and do not add any ot
)
group = {
"message": f"Create file",
- "id": group_id,
+ "id": str(uuid.uuid4()),
}
await self.on_logs(
{