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' of https://github.com/e2b-dev/e2b into agent

Vasek Mlejnskyc61803aa5777
diff --cc components/AgentInstructions.tsx
index fca1d7919,fb39c03c3..e325386a7
--- a/components/AgentInstructions.tsx
+++ b/components/AgentInstructions.tsx
@@@ -5,10 -6,8 +5,10 @@@ import
import InstructionsEditor from 'components/Editor/Template/NodeJSExpressTemplate/InstructionsEditor'
export interface Props {
+ value: string
+ onChange: (value: string) => void
onBack: () => void
- onNext: () => void
+ onNext: (instructions: string) => void
}
function AgentInstructions({
@@@ -24,11 -22,10 +24,10 @@@
<InstructionsEditor
className="absolute inset-0 bg-gray-950 p-4 text-gray-100"
placeholder="Create a website using Nextjs..."
- content={content}
- onChange={setContent}
+ content={value}
+ onChange={onChange}
/>
</div>
-
<div className="w-full flex items-center justify-between">
<button
className="flex items-center justify-start space-x-1 text-gray-400 hover:text-gray-100 transition-all"