mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
c882df8cd6
commit
33b50bc981
|
@ -89,12 +89,6 @@ def create_sandbox(password: str):
|
||||||
logger.info("Creating new Daytona sandbox environment")
|
logger.info("Creating new Daytona sandbox environment")
|
||||||
logger.debug("Configuring sandbox with browser-use image and environment variables")
|
logger.debug("Configuring sandbox with browser-use image and environment variables")
|
||||||
|
|
||||||
openai_api_key = os.getenv("OPENAI_API_KEY")
|
|
||||||
if not openai_api_key:
|
|
||||||
logger.warning("OPENAI_API_KEY not found in environment variables")
|
|
||||||
else:
|
|
||||||
logger.debug("OPENAI_API_KEY configured for sandbox")
|
|
||||||
|
|
||||||
sandbox = daytona.create(CreateSandboxParams(
|
sandbox = daytona.create(CreateSandboxParams(
|
||||||
image="adamcohenhillel/kortix-suna:0.0.19",
|
image="adamcohenhillel/kortix-suna:0.0.19",
|
||||||
public=True,
|
public=True,
|
||||||
|
|
Loading…
Reference in New Issue