Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
fix merge conflicts
Vasek Mlejnsky1b109ee79acd
diff --cc pages/agent/smol-developer/setup.tsxindex 273fb9b2f,04f6cec5c..3446d46ff--- a/pages/agent/smol-developer/setup.tsx+++ b/pages/agent/smol-developer/setup.tsx@@@ -40,23 -44,13 +45,13 @@@ export interface PostAgentBodybranch: string// Commit message for the PR first empty commitcommitMessage: string+ modelConfig: ModelConfig & { templateID: TemplateID }}- // export interface Repository {- // repositoryID: number- // installationID: number- // fullName: string- // branches?: string[]- // defaultBranch: string- // url: string- // owner: string- // name: string- // }-const steps = [{ name: 'Select Repository', status: 'current' },- { name: 'Write Instructions', status: 'upcoming' },- { name: 'Step 3', status: 'upcoming' },+ { name: 'Your Instructions', status: 'upcoming' },+ { name: 'Deploy AI Developer', status: 'upcoming' },]export const getServerSideProps: GetServerSideProps = async (ctx) => {@@@ -188,11 -213,20 +214,20 @@@ function Setup()accessToken={accessToken}githubAccounts={githubAccounts}/>- ) : currentStep === 1 ? (+ )}+ {currentStep === 1 && (- <div>prompt</div>+ <AgentInstructions />- ) : currentStep === 2 ? (- <div>keys + deploy</div>- ) : null}+ )}+ {currentStep === 2 && (+ <div>+ <button+ className="w-8 min-w-[64px] h-[24px] min-h-[24px] flex items-center justify-center rounded bg-white/10 px-2 py-1 text-sm text-white font-medium hover:bg-white/20"+ onClick={deployAgent}+ >+ <span>Deploy</span>+ </button>+ </div>+ )}</div></div>)