Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Merge branch 'agent' into production

Tomas Valentab60350ea370a
diff --cc pages/agent/smol-developer/setup.tsx
index 615e6b4c1,20fbcab66..629d10426
--- a/pages/agent/smol-developer/setup.tsx
+++ b/pages/agent/smol-developer/setup.tsx
@@@ -156,7 -151,9 +156,9 @@@ function Setup()
},
})
+ setIsDeploying(true)
+
- await createAgent({
+ const response = await createAgent({
defaultBranch: selectedRepository.defaultBranch,
installationID: selectedRepository.installationID,
owner: selectedRepository.owner,
@@@ -168,12 -165,8 +170,14 @@@
commitMessage: 'Smol dev initial commit',
modelConfig,
})
+
+ // if (response) {
+ // router.push(`/${response.projectID}`)
+ // } else {
+ // console.error('No response from agent creation')
+ // }
+ setIsDeploying(false)
+ // TODO: Redirect to the dashboard.
}
function nextStep() {