Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Remove directories from the list of generated files

Tomas Valenta5b580bf96c5d
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.py
index 64b3d84f6..90f531595 100644
--- a/api-service/agent/smol_agent.py
+++ b/api-service/agent/smol_agent.py
@@ -436,6 +436,7 @@ Begin generating the code now.
if not any(
name.endswith(extension) for extension in extensions_to_skip
)
+ and not name.endswith("/")
]
)