diff --git a/README.md b/README.md index 145d3a5a..9a787509 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ You'll need the following components: - Generate an API key from your account settings - Go to [Images](https://app.daytona.io/dashboard/images) - Click "Add Image" - - Enter `adamcohenhillel/kortix-suna:0.0.19` as the image name + - Enter `adamcohenhillel/kortix-suna:0.0.20` as the image name - Set `exec /usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf` as the Entrypoint 4. **LLM API Keys**: diff --git a/backend/sandbox/docker/docker-compose.yml b/backend/sandbox/docker/docker-compose.yml index 15ca16c0..64298126 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: adamcohenhillel/kortix-suna:0.0.19 + image: adamcohenhillel/kortix-suna:0.0.20 ports: - "6080:6080" # noVNC web interface - "5901:5901" # VNC port diff --git a/backend/sandbox/sandbox.py b/backend/sandbox/sandbox.py index 81fcf24e..decff3f5 100644 --- a/backend/sandbox/sandbox.py +++ b/backend/sandbox/sandbox.py @@ -90,7 +90,7 @@ def create_sandbox(password: str): logger.debug("Configuring sandbox with browser-use image and environment variables") sandbox = daytona.create(CreateSandboxParams( - image="adamcohenhillel/kortix-suna:0.0.19", + image="adamcohenhillel/kortix-suna:0.0.20", public=True, env_vars={ "CHROME_PERSISTENT_SESSION": "true", diff --git a/backend/utils/billing.py b/backend/utils/billing.py index 4d789076..c4ab9bbf 100644 --- a/backend/utils/billing.py +++ b/backend/utils/billing.py @@ -3,9 +3,9 @@ from typing import Dict, Optional, Tuple # Define subscription tiers and their monthly limits (in minutes) SUBSCRIPTION_TIERS = { - 'price_1RGJ9GG6l1KZGqIroxSqgphC': {'name': 'free', 'minutes': 10000}, - 'price_1RGJ9LG6l1KZGqIrd9pwzeNW': {'name': 'base', 'minutes': 6000}, # 100 hours = 6000 minutes - 'price_1RGJ9JG6l1KZGqIrVUU4ZRv6': {'name': 'extra', 'minutes': 6000} # 100 hours = 6000 minutes + 'price_1RGJ9GG6l1KZGqIroxSqgphC': {'name': 'free', 'minutes': 10}, + 'price_1RGJ9LG6l1KZGqIrd9pwzeNW': {'name': 'base', 'minutes': 300}, # 100 hours = 6000 minutes + 'price_1RGJ9JG6l1KZGqIrVUU4ZRv6': {'name': 'extra', 'minutes': 2400} # 100 hours = 6000 minutes } async def get_account_subscription(client, account_id: str) -> Optional[Dict]: