update billing

This commit is contained in:
Adam Cohen Hillel 2025-04-22 16:55:16 +01:00
parent 33b50bc981
commit 3128a8197b
4 changed files with 6 additions and 6 deletions

View File

@ -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**:

View File

@ -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

View File

@ -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",

View File

@ -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]: