Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Cleanup
Tomas Valentaa6531107d807
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.pyindex ce0ecac18..95c54d75a 100644--- a/api-service/agent/smol_agent.py+++ b/api-service/agent/smol_agent.py@@ -56,6 +56,7 @@ class SmolAgent(AgentBase):async def _dev(self, instructions: Any):user_prompt: str = instructions["Prompt"]+ # TODO: Apply the file rewrite when the agent was invoked via PR code commentfile: str | None = instructions.get("File", None)playground = None@@ -69,7 +70,6 @@ class SmolAgent(AgentBase):rootdir = "/repo"await playground.change_rootdir(rootdir)await playground.make_dir(rootdir)- await playground.write_file("/file/file.txt", "hello world")# await playground.checkout_repo(instructions["RepoURL"], False, rootdir)async def clean_dir():