Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Cleanup

Tomas Valenta43e8f6f1f036
diff --git a/packages/cli/src/utils/templatePrompt.ts b/packages/cli/src/utils/templatePrompt.ts
index 57c7ca3fb..6469e3870 100644
--- a/packages/cli/src/utils/templatePrompt.ts
+++ b/packages/cli/src/utils/templatePrompt.ts
@@ -3,27 +3,6 @@ import * as chalk from 'chalk'
import { asFormattedSandboxTemplate } from 'src/utils/format'
-export async function getPromptEnv(
- envs: e2b.components['schemas']['Environment'][],
- text: string,
-) {
- const inquirer = await import('inquirer')
- const envsAnwsers = await inquirer.default.prompt([
- {
- name: 'env',
- message: chalk.default.underline(text),
- type: 'list',
- pageSize: 50,
- choices: envs.map(e => ({
- name: asFormattedSandboxTemplate(e),
- value: e,
- })),
- },
- ])
-
- return envsAnwsers['env'] as e2b.components['schemas']['Environment']
-}
-
export async function getPromptEnvs(
envs: e2b.components['schemas']['Environment'][],
text: string,