diff --git a/backend/agent/tools/browser_tool.py b/backend/agent/tools/browser_tool.py index f3eb2b89..f142a923 100644 --- a/backend/agent/tools/browser_tool.py +++ b/backend/agent/tools/browser_tool.py @@ -150,7 +150,7 @@ class BrowserTool(SandboxToolsBase): return True else: # If the browser api is not healthy, we need to restart the browser api - model_api_key = config.OPENAI_API_KEY + model_api_key = config.GEMINI_API_KEY response = await self.sandbox.process.exec(f"curl -X POST 'http://localhost:8004/api/init' -H 'Content-Type: application/json' -d '{{\"api_key\": \"{model_api_key}\"}}'", timeout=90) if response.exit_code == 0: @@ -333,7 +333,7 @@ class BrowserTool(SandboxToolsBase): "properties": { "action": { "type": "string", - "description": "The action to perform. Examples: 'click the login button', 'fill in the email field with test@example.com', 'scroll down to see more content', 'select option 2 from the dropdown', 'press Enter', 'go back', 'wait 5 seconds', 'click at coordinates 100,200', 'drag the file icon to the drop zone', 'select United States from the country dropdown'" + "description": "The action to perform. Examples: 'click the login button', 'fill in the email field with %email%', 'scroll down to see more content', 'select option 2 from the dropdown', 'press Enter', 'go back', 'wait 5 seconds', 'click at coordinates 100,200', 'select United States from the country dropdown'" }, "variables": { "type": "object", diff --git a/backend/sandbox/README.md b/backend/sandbox/README.md index 59cbdac6..0401f16e 100644 --- a/backend/sandbox/README.md +++ b/backend/sandbox/README.md @@ -20,7 +20,7 @@ You can modify the sandbox environment for development or to add new capabilitie ``` cd backend/sandbox/docker docker compose build - docker push kortix/suna:0.1.3.6 + docker push kortix/suna:0.1.3.7 ``` 3. Test your changes locally using docker-compose diff --git a/backend/sandbox/docker/browserApi.ts b/backend/sandbox/docker/browserApi.ts index 1825fd5f..dad29a3b 100644 --- a/backend/sandbox/docker/browserApi.ts +++ b/backend/sandbox/docker/browserApi.ts @@ -44,7 +44,7 @@ class BrowserAutomation { logger: (logLine: LogLine) => { console.log(`[${logLine.category}] ${logLine.message}`); }, - modelName: "openai/gpt-5", + modelName: "google/gemini-2.5-pro", modelClientOptions: { apiKey }, diff --git a/backend/sandbox/docker/docker-compose.yml b/backend/sandbox/docker/docker-compose.yml index cc589c97..d6878d41 100644 --- a/backend/sandbox/docker/docker-compose.yml +++ b/backend/sandbox/docker/docker-compose.yml @@ -6,7 +6,7 @@ services: dockerfile: ${DOCKERFILE:-Dockerfile} args: TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64} - image: kortix/suna:0.1.3.6 + image: kortix/suna:0.1.3.7 ports: - "6080:6080" # noVNC web interface - "5901:5901" # VNC port diff --git a/backend/utils/config.py b/backend/utils/config.py index 73f828de..0b29ac46 100644 --- a/backend/utils/config.py +++ b/backend/utils/config.py @@ -280,8 +280,8 @@ class Configuration: STRIPE_PRODUCT_ID_STAGING: str = 'prod_SCgIj3G7yPOAWY' # Sandbox configuration - SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.6" - SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.6" + SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.7" + SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.7" SANDBOX_ENTRYPOINT = "/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf" # LangFuse configuration diff --git a/docs/SELF-HOSTING.md b/docs/SELF-HOSTING.md index a0b6f8da..b4ae180f 100644 --- a/docs/SELF-HOSTING.md +++ b/docs/SELF-HOSTING.md @@ -127,8 +127,8 @@ As part of the setup, you'll need to: 1. Create a Daytona account 2. Generate an API key 3. Create a Snapshot: - - Name: `kortix/suna:0.1.3.6` - - Image name: `kortix/suna:0.1.3.6` + - Name: `kortix/suna:0.1.3.7` + - Image name: `kortix/suna:0.1.3.7` - Entrypoint: `/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf` ## Manual Configuration diff --git a/setup.py b/setup.py index f6b8360b..48be94c3 100644 --- a/setup.py +++ b/setup.py @@ -669,8 +669,8 @@ class SetupWizard: f"Visit {Colors.GREEN}https://app.daytona.io/dashboard/snapshots{Colors.ENDC}{Colors.CYAN} to create a snapshot." ) print_info("Create a snapshot with these exact settings:") - print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.6{Colors.ENDC}") - print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.6{Colors.ENDC}") + print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.7{Colors.ENDC}") + print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.7{Colors.ENDC}") print_info( f" - Entrypoint:\t{Colors.GREEN}/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf{Colors.ENDC}" )